Even though single address image instructions only use a single VGPR
HW accesses 4 or 5 which creates alignment requirement.
Fixes: SWDEV-316648
Paths
| Differential D126009
[AMDGPU] Enforce alignment of image vaddr on gfx90a ClosedPublic Authored by rampitec on May 19 2022, 1:04 PM.
Details
Summary Even though single address image instructions only use a single VGPR Fixes: SWDEV-316648
Diff Detail
Unit TestsFailed Event TimelineComment Actions This looks good. Just a couple of minor comments.
This revision is now accepted and ready to land.May 24 2022, 9:42 AM This revision was landed with ongoing or failed builds.May 24 2022, 10:06 AM Closed by commit rG5df6669d45bc: [AMDGPU] Enforce alignment of image vaddr on gfx90a (authored by rampitec). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 431430 llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/MIMGInstructions.td
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.image.atomic.dim.ll
llvm/test/CodeGen/AMDGPU/alloc-aligned-tuples-gfx90a.mir
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.atomic.dim.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.gfx90a.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.gfx90a.ll
llvm/test/CodeGen/AMDGPU/verify-image-vaddr-align.mir
|
spelling, regardless