]> granicus.if.org Git - llvm/commit
[AArch64][x86] add tests for add/sub signbits fold; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 30 Jan 2019 21:58:20 +0000 (21:58 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 30 Jan 2019 21:58:20 +0000 (21:58 +0000)
commit323b0c562d399a84f38c3f81e1b54dffef671b34
tree22a44f12441f9e3818802805be499c94c18711b0
parent5d6324274bbcb22c2998e12fce4f961b7d95e3ec
[AArch64][x86] add tests for add/sub signbits fold; NFC

As discussed/shown in D57401, we are missing a fold for
subtract of 0/1 --> add 0/-1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352678 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AArch64/bool-ext-inc.ll
test/CodeGen/X86/bool-ext-inc.ll