[all-commits] [llvm/llvm-project] 4a7de3: [AMDGPU] Avoid use of V_READLANE into EXEC in SGPR...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Fri Jun 19 20:11:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 4a7de36afc785070d35a951dfa470d5e91acd540
https://github.com/llvm/llvm-project/commit/4a7de36afc785070d35a951dfa470d5e91acd540
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2020-06-20 (Sat, 20 Jun 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
A llvm/test/CodeGen/AMDGPU/fold-reload-into-exec.mir
M llvm/test/CodeGen/AMDGPU/sgpr-spill.mir
M llvm/test/CodeGen/AMDGPU/si-sgpr-spill.ll
M llvm/test/CodeGen/AMDGPU/spill-special-sgpr.mir
Log Message:
-----------
[AMDGPU] Avoid use of V_READLANE into EXEC in SGPR spills
Always prefer to clobber input SGPRs and restore them after the
spill. This applies to both spills to VGPRs and scratch.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D81914
More information about the All-commits
mailing list