[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Anton Korobeynikov
asl at math.spbu.ru
Wed May 2 15:16:07 PDT 2007
Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAGISel.cpp updated: 1.444 -> 1.445
---
Log message:
Properly set arguments bitwidth of EHSELECT node
---
Diffs of the changes: (+2 -2)
SelectionDAGISel.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.444 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.445
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.444 Wed May 2 16:39:19 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Wed May 2 17:15:48 2007
@@ -2632,7 +2632,7 @@
if (Reg) CurMBB->addLiveIn(Reg);
// Insert the EHSELECTION instruction.
- SDVTList VTs = DAG.getVTList(MVT::i32, MVT::Other);
+ SDVTList VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other);
SDOperand Ops[2];
Ops[0] = getValue(I.getOperand(1));
Ops[1] = getRoot();
@@ -2640,7 +2640,7 @@
setValue(&I, Op);
DAG.setRoot(Op.getValue(1));
} else {
- setValue(&I, DAG.getConstant(0, MVT::i32));
+ setValue(&I, DAG.getConstant(0, TLI.getPointerTy()));
}
return 0;
More information about the llvm-commits
mailing list