projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19aac3b
)
80 col violation.
author
Evan Cheng
<evan.cheng@apple.com>
Sat, 25 Jul 2009 01:55:25 +0000
(
01:55
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Sat, 25 Jul 2009 01:55:25 +0000
(
01:55
+0000)
llvm-svn: 77041
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
b/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
index 6b0692c763921bc60a893d02c31a8dfe071534a6..2405bd03fd0855b0aec054a9aeedbc3e81ab3e47 100644
(file)
--- a/
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
+++ b/
llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp
@@
-959,7
+959,8
@@
void emitARMRegPlusImmediate(MachineBasicBlock &MBB,
assert(ARM_AM::getSOImmVal(ThisVal) != -1 && "Bit extraction didn't work?");
// Build the new ADD / SUB.
- BuildMI(MBB, MBBI, dl, TII.get(TII.getOpcode(isSub ? ARMII::SUBri : ARMII::ADDri)), DestReg)
+ unsigned Opc = TII.getOpcode(isSub ? ARMII::SUBri : ARMII::ADDri);
+ BuildMI(MBB, MBBI, dl, TII.get(Opc), DestReg)
.addReg(BaseReg, RegState::Kill).addImm(ThisVal)
.addImm((unsigned)Pred).addReg(PredReg).addReg(0);
BaseReg = DestReg;