[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)
commit8db3e115e75a820dbcdfb2bc7730a11c6845f0de
tree324d3ce14490221f764a34b950afa725675e6ba4
parente185dcf13d84be89843788730be24bd8f96cf4cc
[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.

llvm-svn: 330072
llvm/test/Transforms/InstCombine/masked-merge-add.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/masked-merge-or.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/masked-merge-xor.ll [new file with mode: 0644]
llvm/test/Transforms/InstCombine/masked-merge.ll [deleted file]