]> granicus.if.org Git - llvm/commit
[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)
commitc8c96fc6f84f62d6eba0f554a20e375fe1e430b2
treec0c433aa1c7982cc3fddb301f7b555f4d29cb7f0
parent478ccd17f2b720b90bc8b69f38074ea658c023b0
[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'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364844 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/shift-direction-in-bit-test.ll