This is to avoid relying on the post-isel hook.
This change also enable the saddr pattern selection for atomic
intrinsics in GlobalISel.
Paths
| Differential D123583
[AMDGPU] Select no-return atomic intrinsics in tblgen ClosedPublic Authored by abinavpp on Apr 12 2022, 3:44 AM.
Details Summary This is to avoid relying on the post-isel hook. This change also enable the saddr pattern selection for atomic
Diff Detail
Event Timelineabinavpp added a child revision: D123584: [AMDGPU] Select no-return DS_PK_ADD_F16 in tblgen.Apr 12 2022, 3:47 AM
This revision is now accepted and ready to land.Apr 21 2022, 6:40 AM This revision was landed with ongoing or failed builds.Apr 21 2022, 9:10 PM Closed by commit rG45ca94334ef1: [AMDGPU] Select no-return atomic intrinsics in tblgen (authored by abinavpp). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 424368 llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
llvm/lib/Target/AMDGPU/BUFInstructions.td
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/fp64-atomics-gfx90a.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.global.atomic.fadd.ll
llvm/test/CodeGen/AMDGPU/fp-min-max-global-atomics-gfx10.ll
|
This just moved the int_ prefix, and doesn't eliminate it. I just realized these are the cases that only come from the intrinsics, so maybe this is fine (but just directly using int_ before would be better)