[NFC][InstCombine] More commutative tests for "shift direction in bittest" (PR42466)
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 1 Jul 2019 20:33:56 +0000 (20:33 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 1 Jul 2019 20:33:56 +0000 (20:33 +0000)
commit975120a21b43a192e9475de4af7dcd6565b37224
tree980b4696cbd6430d7bb03ced6498dc8e702d38af
parent8b7a0baa20cac2ce9273a0a14cc251595676ced6
[NFC][InstCombine] More commutative tests for "shift direction in bittest" (PR42466)

'and' is commutative, if we don't want to touch shift-of-const,
we still need to check the other hand of 'and'.

llvm-svn: 364844
llvm/test/Transforms/InstCombine/shift-direction-in-bit-test.ll