Fix another variant of PR 7191. Also add a testcase
authorDale Johannesen <dalej@apple.com>
Tue, 25 May 2010 18:47:23 +0000 (18:47 +0000)
committerDale Johannesen <dalej@apple.com>
Tue, 25 May 2010 18:47:23 +0000 (18:47 +0000)
commit86234c30a7dea821e970323df4f168b9632d0bb7
tree18917f65ab6db94553081b65d2e5d5bad6d5461b
parent79373680ed7f2b92df4a5c45d0d9bbd47af77c58
Fix another variant of PR 7191.  Also add a testcase
Mon Ping provided; unfortunately bugpoint failed to
reduce it, but I think it's important to have a test for
this in the suite.  8023512.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104624 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/2010-05-25-FP_TO_INT-crash.ll [new file with mode: 0644]