[NFC][InstCombine] Add 'x - (x & y)' tests with multi-use 'and'
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Mar 2020 16:40:13 +0000 (19:40 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Mar 2020 16:41:19 +0000 (19:41 +0300)
commit69ec84f8e7fa7dec4ba1b1d16ffadfa4a18ac635
tree5506de25de5ae9de7a3bdd0ab3337d1d502880d0
parent0ba553d153e65b283c7934c3f061ad0487f03ba6
[NFC][InstCombine] Add 'x - (x & y)' tests with multi-use 'and'

If %y is constant, we could still perform the fold
llvm/test/Transforms/InstCombine/sub.ll