projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64cf160
)
Emit saveri with the correct operand order, patch by Richard Pennington!
author
Chris Lattner
<sabre@nondot.org>
Sun, 3 Aug 2008 18:16:14 +0000
(18:16 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 3 Aug 2008 18:16:14 +0000
(18:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54313
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/Sparc/SparcRegisterInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/Sparc/SparcRegisterInfo.cpp
b/lib/Target/Sparc/SparcRegisterInfo.cpp
index 4241f734e75c43085a6d7f17c57210a8b579f5db..92e92eabe7d49c635c16d9b8282ffe9740438ced 100644
(file)
--- a/
lib/Target/Sparc/SparcRegisterInfo.cpp
+++ b/
lib/Target/Sparc/SparcRegisterInfo.cpp
@@
-137,7
+137,7
@@
void SparcRegisterInfo::emitPrologue(MachineFunction &MF) const {
if (NumBytes >= -4096) {
BuildMI(MBB, MBB.begin(), TII.get(SP::SAVEri),
- SP::O6).add
Imm(NumBytes).addReg(SP::O6
);
+ SP::O6).add
Reg(SP::O6).addImm(NumBytes
);
} else {
MachineBasicBlock::iterator InsertPt = MBB.begin();
// Emit this the hard way. This clobbers G1 which we always know is