[llvm] r287933 - Revert "AMDGPU: Fix not setting kill flag on temp reg when spilling"
Marek Olsak via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 25 08:03:19 PST 2016
Author: mareko
Date: Fri Nov 25 10:03:19 2016
New Revision: 287933
URL: http://llvm.org/viewvc/llvm-project?rev=287933&view=rev
Log:
Revert "AMDGPU: Fix not setting kill flag on temp reg when spilling"
This reverts commit 057bbbe4ae170247ba37f08f2e70ef185267d1bb.
Modified:
llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp?rev=287933&r1=287932&r2=287933&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIRegisterInfo.cpp Fri Nov 25 10:03:19 2016
@@ -487,7 +487,7 @@ void SIRegisterInfo::buildSpillLoadStore
EltSize, MinAlign(Align, EltSize * i));
auto MIB = BuildMI(*MBB, MI, DL, Desc)
- .addReg(SubReg, getDefRegState(!IsStore) | getKillRegState(IsKill))
+ .addReg(SubReg, getDefRegState(!IsStore))
.addReg(ScratchRsrcReg)
.addReg(SOffset, SOffsetRegState)
.addImm(Offset)
More information about the llvm-commits
mailing list