[llvm-commits] CVS: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Tue Sep 12 14:03:24 PDT 2006
Changes in directory llvm/lib/Target/Sparc:
SparcISelDAGToDAG.cpp updated: 1.107 -> 1.108
---
Log message:
Reflects MachineConstantPoolEntry changes.
---
Diffs of the changes: (+1 -1)
SparcISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp
diff -u llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.107 llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.108
--- llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp:1.107 Sat Aug 26 02:59:33 2006
+++ llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp Tue Sep 12 16:03:10 2006
@@ -704,7 +704,7 @@
return DAG.getNode(ISD::ADD, MVT::i32, Lo, Hi);
}
case ISD::ConstantPool: {
- Constant *C = cast<ConstantPoolSDNode>(Op)->get();
+ Constant *C = cast<ConstantPoolSDNode>(Op)->getConstVal();
SDOperand CP = DAG.getTargetConstantPool(C, MVT::i32,
cast<ConstantPoolSDNode>(Op)->getAlignment());
SDOperand Hi = DAG.getNode(SPISD::Hi, MVT::i32, CP);
More information about the llvm-commits
mailing list