summaryrefslogtreecommitdiff
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-12-02 07:37:46 +0000
committerBill Wendling <isanbard@gmail.com>2013-12-02 07:37:46 +0000
commit3d238de4d54eb0b16afd96a57f49f92b2f7748e0 (patch)
tree29049b101a4428f4df0ae7f91765ae56f2339069 /lib/Target/ARM
parentdddd7705b0d526c64d143c7cb83f21c7686796af (diff)
downloadllvm-3d238de4d54eb0b16afd96a57f49f92b2f7748e0.tar.gz
llvm-3d238de4d54eb0b16afd96a57f49f92b2f7748e0.tar.bz2
llvm-3d238de4d54eb0b16afd96a57f49f92b2f7748e0.tar.xz
Merging r195401:
------------------------------------------------------------------------ r195401 | lhames | 2013-11-21 16:46:32 -0800 (Thu, 21 Nov 2013) | 8 lines Fix a typo where we were creating <def,kill> operands instead of <def,dead> ones. Add an assertion to make sure we catch this in the future. Fixes <rdar://problem/15464559>. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@196073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.cpp b/lib/Target/ARM/ARMBaseInstrInfo.cpp
index b2dd9d85e5..67534c4a44 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.cpp
+++ b/lib/Target/ARM/ARMBaseInstrInfo.cpp
@@ -1934,7 +1934,8 @@ bool llvm::tryFoldSPUpdateIntoPushPop(MachineFunction &MF,
return false;
// Mark the unimportant registers as <def,dead> in the POP.
- RegList.push_back(MachineOperand::CreateReg(CurReg, true, false, true));
+ RegList.push_back(MachineOperand::CreateReg(CurReg, true, false, false,
+ true));
}
if (RegsNeeded > 0)