diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-09-04 20:39:26 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-09-04 20:39:26 +0000 |
| commit | e0cb6bb8dacd64a3f4e6edeb63d222ceaddf0d76 (patch) | |
| tree | 0f4c737dc16a99297ade6afd9588cd02ae34fb36 /llvm/lib | |
| parent | 4dbd9f254a18e9d0122f146a28373af15b106060 (diff) | |
| download | bcm5719-llvm-e0cb6bb8dacd64a3f4e6edeb63d222ceaddf0d76.tar.gz bcm5719-llvm-e0cb6bb8dacd64a3f4e6edeb63d222ceaddf0d76.zip | |
Fix for PR1632. EHSELECTION always produces a i32 value.
llvm-svn: 41712
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 60a9cd1def4..62bcc32bb4e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -2703,7 +2703,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) { } // Insert the EHSELECTION instruction. - SDVTList VTs = DAG.getVTList(TLI.getPointerTy(), MVT::Other); + SDVTList VTs = DAG.getVTList(MVT::i32, MVT::Other); SDOperand Ops[2]; Ops[0] = getValue(I.getOperand(1)); Ops[1] = getRoot(); |

