In r131488 I misunderstood how VREV works. It splits the vector in half and splits each half. Therefore, the real problem was that we were using a VREV64 for a 4xi16, when we should have been using a VREV32.

Updated test case and reverted change to the PerfectShuffle Table.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131529 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tanya Lattner
2011-05-18 06:42:21 +00:00
parent 0e30f02f44
commit 2a8eb722c7
4 changed files with 1353 additions and 1347 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ enum {
};
struct vrev : public Operator {
vrev() : Operator(0x3210, "vrev", OP_VREV) {}
vrev() : Operator(0x1032, "vrev", OP_VREV) {}
} the_vrev;
template<unsigned Elt>