aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-09-04 20:39:26 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-09-04 20:39:26 +0000
commita34d395358ea8aa039566926650a12d0962ded38 (patch)
tree963ab6295c8b6f0e1334496b380c7988acdfff57 /lib
parent67c906dce729d64861af8ca708f5e19d6a058b35 (diff)
downloadexternal_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.cpp2
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();