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
Event Timeline
| lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp | ||
|---|---|---|
| 189–195 | 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
Are these still divergent if the return value isn't used?