Fix pattern match for movi with 0D result
authorAna Pazos <apazos@codeaurora.org>
Mon, 9 Dec 2013 19:29:14 +0000 (19:29 +0000)
committerAna Pazos <apazos@codeaurora.org>
Mon, 9 Dec 2013 19:29:14 +0000 (19:29 +0000)
commitddf4eb3d03def96abbd38ed8a635f0748e82a295
tree63b692dafc7c65423e51da508ad22757d5f334e3
parentc3b96bacc8109c55ebf1fcee6c3af618e842349c
Fix pattern match for movi with 0D result

Patch by Jiangning Liu.

With some test case changes:
- intrinsic test added to the existing /test/CodeGen/AArch64/neon-aba-abd.ll.
- New test cases to cover movi 1D scenario without using the intrinsic in
test/CodeGen/AArch64/neon-mov.ll.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196806 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrNEON.td
test/CodeGen/AArch64/neon-aba-abd.ll
test/CodeGen/AArch64/neon-mov.ll