OSDN Git Service

[InstCombine][NFC] masked-merge: add 'and' tests, too.
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 13 Apr 2018 21:57:01 +0000 (21:57 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 13 Apr 2018 21:57:01 +0000 (21:57 +0000)
commita68402c36cc5f8dabcb1d1602ad9afe3b49b0705
treeadc0b6f16df3a29bfa11204d122c6a2876940501
parent9899cf0e8fb474d142064a1a2102b45d3cfc9b0d
[InstCombine][NFC] masked-merge: add 'and' tests, too.

(and plain 'or', for completeness sake.)

After submitting D45631, i have realized that it will *already*
affect 'and' pattern, and it was obvious that there were no
good test patterns to show that.

Since the masked-merge.ll is getting kinda big,
unify naming schemes a bit, and split into 'xor'/'and'/'or'
testfiles, with the only difference being the last operation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330072 91177308-0d34-0410-b5e6-96231b3b80d8
test/Transforms/InstCombine/masked-merge-add.ll [new file with mode: 0644]
test/Transforms/InstCombine/masked-merge-or.ll [new file with mode: 0644]
test/Transforms/InstCombine/masked-merge-xor.ll [new file with mode: 0644]
test/Transforms/InstCombine/masked-merge.ll [deleted file]