[InstSimplify] add helper function for SimplifyICmpInst(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Mon, 22 Aug 2016 23:12:02 +0000 (23:12 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 22 Aug 2016 23:12:02 +0000 (23:12 +0000)
commit67bde2862784f24627e8cdb8a2fda2600fa6fd7e
treea5f09ce0d6283ca3909d3142a8794ab8438709f5
parent5e304906440bf68c0a9b117aefeea823cd793d95
[InstSimplify] add helper function for SimplifyICmpInst(); NFCI

And add a FIXME because the helper excludes folds for vectors. It's
not clear yet how many of these are actually testable (and therefore
necessary?) because later analysis uses computeKnownBits and other
methods to catch many of these cases.

llvm-svn: 279492
llvm/lib/Analysis/InstructionSimplify.cpp