[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Andrew Lenharth
alenhar2 at cs.uiuc.edu
Mon Sep 18 10:59:52 PDT 2006
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.276 -> 1.277
---
Log message:
absolute addresses must match pointer size
---
Diffs of the changes: (+1 -1)
SelectionDAGISel.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.276 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.277
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.276 Wed Sep 13 01:02:42 2006
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Mon Sep 18 12:59:35 2006
@@ -866,7 +866,7 @@
DAG.getConstant(EntrySize, PTy));
SDOperand TAB = DAG.getJumpTable(JT.JTI,PTy);
SDOperand ADD = DAG.getNode(ISD::ADD, PTy, IDX, TAB);
- SDOperand LD = DAG.getLoad(MVT::i32, Copy.getValue(1), ADD,
+ SDOperand LD = DAG.getLoad(PTy, Copy.getValue(1), ADD,
DAG.getSrcValue(0));
if (TLI.getTargetMachine().getRelocationModel() == Reloc::PIC_) {
ADD = DAG.getNode(ISD::ADD, PTy,
More information about the llvm-commits
mailing list