This is supported starting with GFX9.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This also needs to be reproduce for globalisel
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
7388 | Should move this into a predicate function inside the subtarget | |
llvm/test/CodeGen/AMDGPU/flat-address-space.ll | ||
160 | What is the alignment situation for this? I thought unaligned scratch access was introduced but we never started using it? |
llvm/test/CodeGen/AMDGPU/flat-address-space.ll | ||
---|---|---|
160 | Unaligned works too. In fact unaligned works even on VI and I do not have CI to test. |
llvm/test/CodeGen/AMDGPU/flat-address-space.ll | ||
---|---|---|
173 | Should add some underaligned cases |
llvm/test/CodeGen/AMDGPU/flat-address-space.ll | ||
---|---|---|
173 | We have it in the same test: @flat_scratch_unaligned_load() and @flat_scratch_unaligned_store(). They are split. |
Should move this into a predicate function inside the subtarget