aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-09 04:46:04 +0000
committerChris Lattner <sabre@nondot.org>2006-02-09 04:46:04 +0000
commit3029f920519e0871a5aad5d7c592281093953733 (patch)
tree589f441942c202c83c47dea002d7c8e3c72bf6e1 /lib/Target/Sparc/SparcISelDAGToDAG.cpp
parent04a0f60b230ca2a2c1aa128981b11d5a2c9b6e2c (diff)
downloadexternal_llvm-3029f920519e0871a5aad5d7c592281093953733.tar.gz
external_llvm-3029f920519e0871a5aad5d7c592281093953733.tar.bz2
external_llvm-3029f920519e0871a5aad5d7c592281093953733.zip
Adjust to MachineConstantPool interface change: instead of keeping a
value/alignment pair for each constant, keep a value/offset pair. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/SparcISelDAGToDAG.cpp')
-rw-r--r--lib/Target/Sparc/SparcISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
index ecfbe917fb..2924e7e62b 100644
--- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp
+++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -968,7 +968,7 @@ void SparcDAGToDAGISel::InstructionSelectBasicBlock(SelectionDAG &DAG) {
}
bool SparcDAGToDAGISel::SelectADDRri(SDOperand Addr, SDOperand &Base,
- SDOperand &Offset) {
+ SDOperand &Offset) {
if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), MVT::i32);
Offset = CurDAG->getTargetConstant(0, MVT::i32);