From 5758c3c832daf4c0b37042684f822fa1896966ac Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Fri, 15 Nov 2013 21:28:10 +0000 Subject: [AArch64] Fix the scalar NEON ACLE functions so that they return float/double rather than the vector equivalent. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194853 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AArch64/AArch64InstrNEON.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/Target/AArch64/AArch64InstrNEON.td b/lib/Target/AArch64/AArch64InstrNEON.td index 63790cbdac..4b8bb8e1ef 100644 --- a/lib/Target/AArch64/AArch64InstrNEON.td +++ b/lib/Target/AArch64/AArch64InstrNEON.td @@ -3853,9 +3853,9 @@ multiclass Neon_Scalar2SameMisc_cvt_SD_size_patterns { - def : Pat<(v1f32 (Sopnode (v1i32 FPR32:$Rn))), + def : Pat<(f32 (Sopnode (v1i32 FPR32:$Rn))), (INSTS FPR32:$Rn)>; - def : Pat<(v1f64 (Dopnode (v1i64 FPR64:$Rn))), + def : Pat<(f64 (Dopnode (v1i64 FPR64:$Rn))), (INSTD FPR64:$Rn)>; } @@ -4135,9 +4135,9 @@ multiclass Neon_ScalarShiftImm_scvtf_SD_size_patterns { - def ssi : Pat<(v1f32 (Sopnode (v1i32 FPR32:$Rn), (i32 imm:$Imm))), + def ssi : Pat<(f32 (Sopnode (v1i32 FPR32:$Rn), (i32 imm:$Imm))), (INSTS FPR32:$Rn, imm:$Imm)>; - def ddi : Pat<(v1f64 (Dopnode (v1i64 FPR64:$Rn), (i32 imm:$Imm))), + def ddi : Pat<(f64 (Dopnode (v1i64 FPR64:$Rn), (i32 imm:$Imm))), (INSTD FPR64:$Rn, imm:$Imm)>; } -- cgit v1.2.3