[llvm-commits] CVS: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
Evan Cheng
evan.cheng at apple.com
Tue Sep 12 14:02:19 PDT 2006
Changes in directory llvm/lib/Target/Alpha:
AlphaISelLowering.cpp updated: 1.59 -> 1.60
---
Log message:
Reflects MachineConstantPoolEntry changes.
---
Diffs of the changes: (+1 -1)
AlphaISelLowering.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/Alpha/AlphaISelLowering.cpp
diff -u llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.59 llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.60
--- llvm/lib/Target/Alpha/AlphaISelLowering.cpp:1.59 Mon Sep 4 19:22:25 2006
+++ llvm/lib/Target/Alpha/AlphaISelLowering.cpp Tue Sep 12 16:02:05 2006
@@ -436,7 +436,7 @@
}
case ISD::ConstantPool: {
ConstantPoolSDNode *CP = cast<ConstantPoolSDNode>(Op);
- Constant *C = CP->get();
+ Constant *C = CP->getConstVal();
SDOperand CPI = DAG.getTargetConstantPool(C, MVT::i64, CP->getAlignment());
SDOperand Hi = DAG.getNode(AlphaISD::GPRelHi, MVT::i64, CPI,
More information about the llvm-commits
mailing list