forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ockl: Don't use wave32 ballot builtin
Wave32 and wave64 paths cannot really co-exist in the same function or callgraph. They need to be treated as a hard ABI incompatibility. We cannot handle the wave32 operation on wave64, but we can and do handle the wave64 operation on wave32. Given the current linking scheme, the most expedient fix for this not working is to pretend wave32 does not exist and just use the wave64 ballot. The optimizer will fold the 64-bit ballot intrinsic to the 32-bit one when it sees a 32-bit target. This was reported broken in llvm#89332 Change-Id: If897f631066e257e18d8adf574cd17d3f9278ca7
- Loading branch information
Showing
2 changed files
with
13 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters