[NFC][InstCombine] Tests for x - ~(y) -> x + y + 1 fold (PR42457)
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 1 Jul 2019 09:57:53 +0000 (09:57 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 1 Jul 2019 09:57:53 +0000 (09:57 +0000)
commit4f878fe3a7d5f62b726e83bde0a23a268a875734
treed65c9b38def8a5b3442ba39f1012f1a2bad56e3b
parentf55818e3a7207e670193e16b75efe1db093b5872
[NFC][InstCombine] Tests for x - ~(y)  ->  x + y + 1 fold (PR42457)

https://bugs.llvm.org/show_bug.cgi?id=42457
https://rise4fun.com/Alive/iFhE

llvm-svn: 364739
llvm/test/Transforms/InstCombine/fold-sub-of-not-to-inc-of-add.ll [new file with mode: 0644]