commit | e8d1e2aaa0148b78cfa96348bef99b51bb0c67de | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Tue Sep 04 20:39:26 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Tue Sep 04 20:39:26 2007 +0000 |
tree | 963ab6295c8b6f0e1334496b380c7988acdfff57 | |
parent | 073afb3745498e831c9e4e78e11b49b20bbc64a2 [diff] [blame] |
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
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 @@ } // 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();