commit | a9a6b6528197d68ea551f665bc6be722a0009630 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Oct 01 20:54:53 2009 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Oct 01 20:54:53 2009 +0000 |
tree | 307e391760e0dd5ba3d535c2ca4263b6d03bbca8 | |
parent | 254350268fc9c24618049ec56bb13484a12bd7ea [diff] [blame] |
ARM::tPOP and tPOP_RET each has an extra writeback operand now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83214 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ARM/Thumb1InstrInfo.cpp b/lib/Target/ARM/Thumb1InstrInfo.cpp index dc4ce64..e1f9338 100644 --- a/lib/Target/ARM/Thumb1InstrInfo.cpp +++ b/lib/Target/ARM/Thumb1InstrInfo.cpp
@@ -178,6 +178,7 @@ DebugLoc DL = MI->getDebugLoc(); MachineInstrBuilder MIB = BuildMI(MF, DL, get(ARM::tPOP)); AddDefaultPred(MIB); + MIB.addReg(0); // No write back. bool NumRegs = 0; for (unsigned i = CSI.size(); i != 0; --i) {