As explained by the comment, threads will typically see different values
returned by atomic instructions even if the arguments are equal.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | ||
---|---|---|
189–195 ↗ | (On Diff #50631) | Are these still divergent if the return value isn't used? |
Comment Actions
If the value is never used it doesn't matter since the use is what propagates divergence