]> granicus.if.org Git - llvm/commit
[NFC][InstCombine] foldICmpWithLowBitMaskedVal(): update comments.
authorRoman Lebedev <lebedev.ri@gmail.com>
Sat, 14 Jul 2018 20:08:52 +0000 (20:08 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Sat, 14 Jul 2018 20:08:52 +0000 (20:08 +0000)
commit6e43f22733d0d3d696bf1458d1ea2d1d46adc731
treecebf3dd0219330057d010769fabf5c83269e9bc2
parent3a68fbf4b518a4106c3994c4ef5e494181908ea3
[NFC][InstCombine] foldICmpWithLowBitMaskedVal(): update comments.

All predicates are handled.
There does not seem to be any other possible folds here.
There are some more folds possible with inverted mask though.

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