[InstCombine] clean up foldSelectICmpAnd(); NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 25 Apr 2018 16:34:01 +0000 (16:34 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 25 Apr 2018 16:34:01 +0000 (16:34 +0000)
commit807ddee1bf8bfb5fd80b3132d6bd25d33895ab17
treed33a6fc20a96de31d575d22530599a1d495c834f
parent1dd3584ec06d034aaf897edec30b3adb4cb2df25
[InstCombine] clean up foldSelectICmpAnd(); NFC

As discussed in D45862, we want to delete parts of
this code because it can create more instructions
than it removes. But we also want to preserve some
folds that are winners, so tidy up what's here to
make splitting the good from bad a bit easier.

llvm-svn: 330841
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp