vrev is incorrectly defined in the perfect shuffle table. The ordering is backwards...
authorTanya Lattner <tonic@nondot.org>
Tue, 17 May 2011 20:48:40 +0000 (20:48 +0000)
committerTanya Lattner <tonic@nondot.org>
Tue, 17 May 2011 20:48:40 +0000 (20:48 +0000)
commitc81c9709ef219809b0d04c55a80a8d18c7194f6a
tree2a7a03212d974b5d02cdacd836afc4e9b1c2ce95
parentde98568bf8adfbfd3c7437c7cdfa617efc7147f3
vrev is incorrectly defined in the perfect shuffle table. The ordering is backwards (should be 0x3210 versus 0x1032) which exposed a bug when doing a shuffle on a 4xi16. I've attached a test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131488 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMPerfectShuffle.h
test/CodeGen/ARM/vrev.ll
utils/PerfectShuffle/PerfectShuffle.cpp