[llvm-commits] CVS: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Evan Cheng
evan.cheng at apple.com
Tue Sep 12 14:04:20 PDT 2006
Changes in directory llvm/lib/Target/ARM:
ARMISelDAGToDAG.cpp updated: 1.43 -> 1.44
---
Log message:
Reflects MachineConstantPoolEntry changes.
---
Diffs of the changes: (+1 -1)
ARMISelDAGToDAG.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff -u llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.43 llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.44
--- llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp:1.43 Mon Sep 11 14:23:32 2006
+++ llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp Tue Sep 12 16:04:05 2006
@@ -294,7 +294,7 @@
static SDOperand LowerConstantPool(SDOperand Op, SelectionDAG &DAG) {
MVT::ValueType PtrVT = Op.getValueType();
ConstantPoolSDNode *CP = cast<ConstantPoolSDNode>(Op);
- Constant *C = CP->get();
+ Constant *C = CP->getConstVal();
SDOperand CPI = DAG.getTargetConstantPool(C, PtrVT, CP->getAlignment());
return CPI;
More information about the llvm-commits
mailing list