Teach InstCombine not to use Add and Neg on FP. PR 8490.
authorDale Johannesen <dalej@apple.com>
Wed, 27 Oct 2010 23:45:18 +0000 (23:45 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 27 Oct 2010 23:45:18 +0000 (23:45 +0000)
commitf514f5279043652a8ac915e8e3c176d53980a128
treee6b874854ce5893b81fa1c55354d12ab7b6be72a
parentf40deed62f4f0126459ed7bfd1799f4e09b1aaa7
Teach InstCombine not to use Add and Neg on FP.  PR 8490.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117510 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineSelect.cpp
test/Transforms/InstCombine/select-crash.ll [new file with mode: 0644]