OSDN Git Service

Implement support for simplifying vector comparisons by 0.0 and 1.0 like we
authorChris Lattner <sabre@nondot.org>
Mon, 11 Aug 2008 22:06:05 +0000 (22:06 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 11 Aug 2008 22:06:05 +0000 (22:06 +0000)
commitb8cd4d3d4902234f98760fec61f5947a8b7055a4
treee94e684876c2080308f543c2dc730c3ea5313cf2
parent3b8a90686adb3d0adaa4389e7b7900570a235e03
Implement support for simplifying vector comparisons by 0.0 and 1.0 like we
do for scalars.  Patch contributed by Nicolas Capens

This also generalizes the previous xforms to work on long double, now that
isExactlyValue works for long double.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54653 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/mul.ll