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 | a34d395358ea8aa039566926650a12d0962ded38 (patch) | |
tree | 963ab6295c8b6f0e1334496b380c7988acdfff57 /lib | |
parent | 67c906dce729d64861af8ca708f5e19d6a058b35 (diff) | |
download | external_llvm-a34d395358ea8aa039566926650a12d0962ded38.zip external_llvm-a34d395358ea8aa039566926650a12d0962ded38.tar.gz external_llvm-a34d395358ea8aa039566926650a12d0962ded38.tar.bz2 |
Fix for PR1632. EHSELECTION always produces a i32 value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 60a9cd1..62bcc32 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/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(); |