diff options
author | Tanya Lattner <tonic@nondot.org> | 2011-05-18 06:42:21 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2011-05-18 06:42:21 +0000 |
commit | 2a8eb722c7bb0fac2fe09a876f3471dcb25f465e (patch) | |
tree | d695e339ba60f7e6c04a9c67a01504cc937e8e43 /utils | |
parent | 0e30f02f44185b43d279b7b3ef8b3356f2b5c7cb (diff) | |
download | external_llvm-2a8eb722c7bb0fac2fe09a876f3471dcb25f465e.zip external_llvm-2a8eb722c7bb0fac2fe09a876f3471dcb25f465e.tar.gz external_llvm-2a8eb722c7bb0fac2fe09a876f3471dcb25f465e.tar.bz2 |
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')
-rw-r--r-- | utils/PerfectShuffle/PerfectShuffle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/PerfectShuffle/PerfectShuffle.cpp b/utils/PerfectShuffle/PerfectShuffle.cpp index dd48180..98f8f4c 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> |