OSDN Git Service

[InstCombine] rename and reorganize some icmp folding functions; NFC
authorSanjay Patel <spatel@rotateright.com>
Sat, 10 Sep 2016 15:03:44 +0000 (15:03 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sat, 10 Sep 2016 15:03:44 +0000 (15:03 +0000)
commit792a8eaf8cfcc11483a97d0fc3951e5fda25a22b
treee89f9c1eb9e340bb2ac00b0a351a0a154cb05fa9
parent14e6992bf47d1db2225b304852b3074619f39ffc
[InstCombine] rename and reorganize some icmp folding functions; NFC

Everything under foldICmpInstWithConstant() should now be working for
splat vectors via m_APInt matchers. Ie, I've removed all of the FIXMEs
that I added while cleaning that section up. Note that not all of the
associated FIXMEs in the regression tests are gone though, because some
of the tests require earlier folds that are still scalar-only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281139 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h