[PATCH] D59295: [AMDGPU] Pre-allocate WWM registers to reduce VGPR pressure.
Neil Henning via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 22 05:49:35 PDT 2019
sheredom updated this revision to Diff 191865.
sheredom added a comment.
Update for two reasons:
- was missing V_SET_INACTIVE_B64 in the set inactive check, causing miscompile with double/int64
- changed where the mov's are injected to tie them explicitly to WWM statements rather than all copy's within a WWM section (which produces better codegen and actually matches more the intent of the WWM intrinsic in the first place).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59295/new/
https://reviews.llvm.org/D59295
Files:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/CMakeLists.txt
lib/Target/AMDGPU/SIFixWWMLiveness.cpp
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SIMachineFunctionInfo.h
lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
lib/Target/AMDGPU/SIRegisterInfo.cpp
lib/Target/AMDGPU/SIWholeQuadMode.cpp
test/CodeGen/AMDGPU/atomic_optimizations_buffer.ll
test/CodeGen/AMDGPU/atomic_optimizations_global_pointer.ll
test/CodeGen/AMDGPU/atomic_optimizations_local_pointer.ll
test/CodeGen/AMDGPU/atomic_optimizations_raw_buffer.ll
test/CodeGen/AMDGPU/atomic_optimizations_struct_buffer.ll
test/CodeGen/AMDGPU/fix-wwm-liveness.mir
test/CodeGen/AMDGPU/indirect-addressing-term.ll
test/CodeGen/AMDGPU/wqm.mir
test/CodeGen/AMDGPU/wwm-reserved.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59295.191865.patch
Type: text/x-patch
Size: 54586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190322/3cd4fbaf/attachment.bin>
More information about the llvm-commits
mailing list