diff options
author | Ana Pazos <apazos@codeaurora.org> | 2013-12-09 19:29:14 +0000 |
---|---|---|
committer | Ana Pazos <apazos@codeaurora.org> | 2013-12-09 19:29:14 +0000 |
commit | ddf4eb3d03def96abbd38ed8a635f0748e82a295 (patch) | |
tree | 63b692dafc7c65423e51da508ad22757d5f334e3 /lib | |
parent | c3b96bacc8109c55ebf1fcee6c3af618e842349c (diff) | |
download | llvm-ddf4eb3d03def96abbd38ed8a635f0748e82a295.tar.gz llvm-ddf4eb3d03def96abbd38ed8a635f0748e82a295.tar.bz2 llvm-ddf4eb3d03def96abbd38ed8a635f0748e82a295.tar.xz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/AArch64/AArch64InstrNEON.td | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Target/AArch64/AArch64InstrNEON.td b/lib/Target/AArch64/AArch64InstrNEON.td index a273468041..04167a14bb 100644 --- a/lib/Target/AArch64/AArch64InstrNEON.td +++ b/lib/Target/AArch64/AArch64InstrNEON.td @@ -1437,9 +1437,8 @@ let isReMaterializable = 1 in { def MOVIdi : NeonI_1VModImm<0b0, 0b1, (outs FPR64:$Rd), (ins neon_uimm64_mask:$Imm), "movi\t $Rd, $Imm", - [(set (f64 FPR64:$Rd), - (f64 (bitconvert - (v1i64 (Neon_movi (timm:$Imm), (i32 imm))))))], + [(set (v1i64 FPR64:$Rd), + (v1i64 (Neon_movi (timm:$Imm), (i32 imm))))], NoItinerary> { let cmode = 0b1110; } |