[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 4 00:04:33 PST 2006



Changes in directory llvm/lib/Target/SparcV8:

SparcV8RegisterInfo.cpp updated: 1.35 -> 1.36
---
Log message:

Fix a nasty typo that broke functions with big stack frames.


---
Diffs of the changes:  (+1 -1)

 SparcV8RegisterInfo.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp:1.35 llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp:1.36
--- llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp:1.35	Sat Feb  4 00:58:46 2006
+++ llvm/lib/Target/SparcV8/SparcV8RegisterInfo.cpp	Sat Feb  4 02:04:21 2006
@@ -145,7 +145,7 @@
     BuildMI(*MI.getParent(), II, V8::ADDrr, 2, 
             V8::G1).addReg(V8::G1).addReg(V8::I6);
     // Insert: G1+%lo(offset) into the user.
-    MI.SetMachineOperandReg(i, V8::I1);
+    MI.SetMachineOperandReg(i, V8::G1);
     MI.SetMachineOperandConst(i+1, MachineOperand::MO_SignExtendedImmed,
                               Offset & ((1 << 10)-1));
   }






More information about the llvm-commits mailing list