projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fa600d
)
Fix minor bug
author
Chris Lattner
<sabre@nondot.org>
Mon, 28 Oct 2002 20:11:17 +0000
(20:11 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 28 Oct 2002 20:11:17 +0000
(20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4355
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/SparcV9/SparcV9InstrSelection.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index 15d03a64ad9f0cfaea3b1638c520573436d9e15b..5afdea505cce786b57d03a586d166ac51cbfa00e 100644
(file)
--- a/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/
lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@
-1240,10
+1240,10
@@
GetInstructionsByRule(InstructionNode* subtreeRoot,
MachineCodeForInstruction::get(returnInstr).addTemp(returnReg);
M = new MachineInstr(JMPLRET);
- M->SetMachineOperand
Reg
(0, MachineOperand::MO_VirtualRegister,
-
returnReg);
+ M->SetMachineOperand
Val
(0, MachineOperand::MO_VirtualRegister,
+ returnReg);
M->SetMachineOperandConst(1,MachineOperand::MO_SignExtendedImmed,
-
(int64_t)8);
+ (int64_t)8);
M->SetMachineOperandReg(2, target.getRegInfo().getZeroRegNum());
if (returnInstr->getReturnValue() != NULL)