aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-04 08:04:21 +0000
committerChris Lattner <sabre@nondot.org>2006-02-04 08:04:21 +0000
commitc4b612ba2a5d9ea400b5a585efba494726e372b3 (patch)
treed2fe96b5f3a2058c6ede3349a19ff38af54fb4f2 /lib/Target/Sparc
parent329a515fe758b36bd443279b0c4ee690517159b3 (diff)
downloadexternal_llvm-c4b612ba2a5d9ea400b5a585efba494726e372b3.zip
external_llvm-c4b612ba2a5d9ea400b5a585efba494726e372b3.tar.gz
external_llvm-c4b612ba2a5d9ea400b5a585efba494726e372b3.tar.bz2
Fix a nasty typo that broke functions with big stack frames.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcRegisterInfo.cpp b/lib/Target/Sparc/SparcRegisterInfo.cpp
index abbf11f..a76111a 100644
--- a/lib/Target/Sparc/SparcRegisterInfo.cpp
+++ b/lib/Target/Sparc/SparcRegisterInfo.cpp
@@ -145,7 +145,7 @@ SparcV8RegisterInfo::eliminateFrameIndex(MachineBasicBlock::iterator II) const {
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));
}