summaryrefslogtreecommitdiff
path: root/utils/PerfectShuffle
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2011-05-18 06:42:21 +0000
committerTanya Lattner <tonic@nondot.org>2011-05-18 06:42:21 +0000
commit2a8eb722c7bb0fac2fe09a876f3471dcb25f465e (patch)
treed695e339ba60f7e6c04a9c67a01504cc937e8e43 /utils/PerfectShuffle
parent0e30f02f44185b43d279b7b3ef8b3356f2b5c7cb (diff)
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
Diffstat (limited to 'utils/PerfectShuffle')
-rw-r--r--utils/PerfectShuffle/PerfectShuffle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp
index dd48180a3d1..98f8f4cc0ca 100644
--- a/utils/PerfectShuffle/PerfectShuffle.cpp
+++ b/utils/PerfectShuffle/PerfectShuffle.cpp
@@ -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>