summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiangning Liu <jiangning.liu@arm.com>2013-11-29 01:37:15 +0000
committerJiangning Liu <jiangning.liu@arm.com>2013-11-29 01:37:15 +0000
commitc429c00f3b2f2315c6d11f82414714a52f385a4c (patch)
treef08056c7ea311e8a70a4174e8b1e24e91a12c662
parentc8a9d762d358d5db5cb8b5d12216d95cbd37c488 (diff)
downloadbcm5719-llvm-c429c00f3b2f2315c6d11f82414714a52f385a4c.tar.gz
bcm5719-llvm-c429c00f3b2f2315c6d11f82414714a52f385a4c.zip
Add missing pattern for supporting intrinsic function vbsl_f64 with
argument double floating point. llvm-svn: 195938
-rw-r--r--llvm/lib/Target/AArch64/AArch64InstrNEON.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64InstrNEON.td b/llvm/lib/Target/AArch64/AArch64InstrNEON.td
index 6af07f36c5f..05b89a66767 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrNEON.td
+++ b/llvm/lib/Target/AArch64/AArch64InstrNEON.td
@@ -466,6 +466,9 @@ multiclass Neon_bitwise3V_patterns<SDPatternOperator opnode,
def : Pat<(v2f32 (int_arm_neon_vbsl (v2f32 VPR64:$src),
(v2f32 VPR64:$Rn), (v2f32 VPR64:$Rm))),
(INST8B VPR64:$src, VPR64:$Rn, VPR64:$Rm)>;
+ def : Pat<(v1f64 (int_arm_neon_vbsl (v1f64 VPR64:$src),
+ (v1f64 VPR64:$Rn), (v1f64 VPR64:$Rm))),
+ (INST8B VPR64:$src, VPR64:$Rn, VPR64:$Rm)>;
def : Pat<(v16i8 (int_arm_neon_vbsl (v16i8 VPR128:$src),
(v16i8 VPR128:$Rn), (v16i8 VPR128:$Rm))),
(INST16B VPR128:$src, VPR128:$Rn, VPR128:$Rm)>;
OpenPOWER on IntegriCloud