[AArch64] Don't assert on f16 in DUP PerfectShuffle generator.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 16 Apr 2015 23:57:07 +0000 (23:57 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Thu, 16 Apr 2015 23:57:07 +0000 (23:57 +0000)
commit7e3c3ae7c14b3846bd8ad80ca5ef16a82d1dd318
tree95e32f158a0fb0d9c5118021174a9c2f06e0e51b
parent32b845d223393d9f5e7317b9e754a52b79543de2
[AArch64] Don't assert on f16 in DUP PerfectShuffle generator.

Found by code inspection, but breaking i16 at least breaks other tests.
They aren't checking this in particular though, so also add some
explicit tests for the already working types.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
test/CodeGen/AArch64/arm64-dup.ll