[PPC] Adding the removed testcase again
authorEhsan Amiri <amehsan@ca.ibm.com>
Thu, 27 Oct 2016 19:10:09 +0000 (19:10 +0000)
committerEhsan Amiri <amehsan@ca.ibm.com>
Thu, 27 Oct 2016 19:10:09 +0000 (19:10 +0000)
commit2492721c36c806c237eedfb337a98120a4f8a8dc
tree6f1c53644889a5add1287de4b34fb0379554b1ae
parentc046497bf087f00e520b112c07cbaa6a44d7ea31
[PPC] Adding the removed testcase again

This testcase was originally part of r284995, but I put it in a wrong directory.
So I removed it. Before adding it back I did some small enhancements. Also I
changed the assertions a little bit, to take into account the impact of some
changes performed since code review is done.

This is similar to changes done for another testcase in the original commit.
See: https://reviews.llvm.org/D23614#577749
Basically for instead of vxor we now generate xxlxor in some cases, which is
better.

llvm-svn: 285333
llvm/test/CodeGen/PowerPC/pzero-fp-xored.ll [new file with mode: 0644]