[AArch64 NEON] Fix a pattern match failure with NEON_VDUP.
authorKevin Qin <Kevin.Qin@arm.com>
Tue, 24 Dec 2013 08:11:47 +0000 (08:11 +0000)
committerKevin Qin <Kevin.Qin@arm.com>
Tue, 24 Dec 2013 08:11:47 +0000 (08:11 +0000)
commit0e8c1f5ca33f413cdd320fd1dcfebdba34b14f06
tree515b6f35294c6ee79ae2d945b942f43c59ddd8fd
parente97b13228a46d1ae76cb77d8749f9867f817ebeb
[AArch64 NEON] Fix a pattern match failure with NEON_VDUP.

This failure caused by improper condition when lowering shuffle_vector
to scalar_to_vector. After this patch NEON_VDUP with v1i64 will not
be generated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197966 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64InstrNEON.td
test/CodeGen/AArch64/neon-simd-ldst-one.ll