inverse.ballot checks if a cc bit is set for the current
lane. Therefore, it is not convergent.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The change description and other places should say "inverse.ballot is not convergent". The keyword "divergent" is the opposite of "uniform". The opposite of convergent is simply "not convergent".
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
1954 | This is updating the wrong intrinsic. readlane is definitely convergent. |
Comment Actions
Mark inverse.ballot as divergent
I would say "not convergent". "divergent" is the opposite of "uniform". I don't think we use it to mean the opposite of "convergent", do we?
llvm/include/llvm/IR/IntrinsicsAMDGPU.td | ||
---|---|---|
1954 | You've changed the wrong intrinsic. |
Comment Actions
Surprising that this didn't affect any lit test. If there are no tests, then they need to be added.
Comment Actions
I believe we don't have a dedicated test-this-is-convergent test for all the intrinsics anywhere
This is updating the wrong intrinsic. readlane is definitely convergent.