forked from OSchip/llvm-project
Revert "AMDGPU: Fix not setting kill flag on temp reg when spilling"
This reverts commit 057bbbe4ae170247ba37f08f2e70ef185267d1bb. llvm-svn: 287933
This commit is contained in:
parent
a45dae458d
commit
713e6fc531
|
@ -487,7 +487,7 @@ void SIRegisterInfo::buildSpillLoadStore(MachineBasicBlock::iterator MI,
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue