The offset operand index is different for atomics.
Diff Detail
Diff Detail
Paths
| Differential D59851
AMDGPU: Fix areLoadsFromSameBasePtr for DS atomics ClosedPublic Authored by arsenm on Mar 26 2019, 3:20 PM.
Diff Detail Event TimelineHerald added subscribers: jfb, t-tye, tpr and 6 others. · View Herald TranscriptMar 26 2019, 3:20 PM This revision is now accepted and ready to land.Mar 26 2019, 3:25 PM arsenm added inline comments.
Revision Contents
Diff 192375 lib/Target/AMDGPU/SIInstrInfo.cpp
test/CodeGen/AMDGPU/are-loads-from-same-base-ptr.ll
|
These should use the NumDefs from the instr desc in case the no-ret atomics are used, although those are inserted later currently