mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 13:06:56 +00:00
Don't attempt preserving conservative kill flags. We were doing it wrong.
This is before LiveVariables anyway, where these kill flags are recalculated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
07f6e805b1
commit
a2846b4bee
@ -448,8 +448,7 @@ NEONPreAllocPass::FormsRegSequence(MachineInstr *MI,
|
||||
assert(DefMI->isExtractSubreg());
|
||||
MO.setReg(LastSrcReg);
|
||||
MO.setSubReg(SubIds[R]);
|
||||
if (R != 0)
|
||||
MO.setIsKill(false);
|
||||
MO.setIsKill(false);
|
||||
// Delete the EXTRACT_SUBREG if its result is now dead.
|
||||
if (MRI->use_empty(OldReg))
|
||||
DefMI->eraseFromParent();
|
||||
|
Loading…
Reference in New Issue
Block a user