[ValueTracking] Teach cannotBeOrderedLessThanZeroImpl to handle vector constants.
authorCraig Topper <craig.topper@intel.com>
Mon, 26 Feb 2018 22:33:17 +0000 (22:33 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 26 Feb 2018 22:33:17 +0000 (22:33 +0000)
commit69c8972fd1dd4beb75421dd32110d2f0e1cb3a5f
tree83b8d25a8ecfd8f8510b421bb43134bad6392860
parent79c23eec04499933479874c0b06bc8d51914bde4
[ValueTracking] Teach cannotBeOrderedLessThanZeroImpl to handle vector constants.

Summary: This allows vector fabs to be removed in more cases.

Reviewers: spatel, arsenm, RKSimon

Reviewed By: spatel

Subscribers: wdng, llvm-commits

Differential Revision: https://reviews.llvm.org/D43739

llvm-svn: 326138
llvm/lib/Analysis/ValueTracking.cpp
llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll