mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-16 16:37:42 +00:00
ARM: Transfer kill flag when lowering VSTMQIA to VSTMDIA.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f75026706
commit
0a7fb6f94a
@ -1132,7 +1132,8 @@ bool ARMExpandPseudo::ExpandMI(MachineBasicBlock &MBB,
|
||||
// Add the source operands (D subregs).
|
||||
unsigned D0 = TRI->getSubReg(SrcReg, ARM::dsub_0);
|
||||
unsigned D1 = TRI->getSubReg(SrcReg, ARM::dsub_1);
|
||||
MIB.addReg(D0).addReg(D1);
|
||||
MIB.addReg(D0, SrcIsKill ? RegState::Kill : 0)
|
||||
.addReg(D1, SrcIsKill ? RegState::Kill : 0);
|
||||
|
||||
if (SrcIsKill) // Add an implicit kill for the Q register.
|
||||
MIB->addRegisterKilled(SrcReg, TRI, true);
|
||||
|
Loading…
Reference in New Issue
Block a user