diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2013-11-15 21:28:10 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-11-15 21:28:10 +0000 |
commit | 5758c3c832daf4c0b37042684f822fa1896966ac (patch) | |
tree | fdb5661257eb8180b9590a4561baff057f2c6d3e /lib/Target/AArch64 | |
parent | 8a631b2cbe2f8621eb3679a4898205da577453b7 (diff) | |
download | external_llvm-5758c3c832daf4c0b37042684f822fa1896966ac.zip external_llvm-5758c3c832daf4c0b37042684f822fa1896966ac.tar.gz external_llvm-5758c3c832daf4c0b37042684f822fa1896966ac.tar.bz2 |
[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
Diffstat (limited to 'lib/Target/AArch64')
-rw-r--r-- | lib/Target/AArch64/AArch64InstrNEON.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/AArch64/AArch64InstrNEON.td b/lib/Target/AArch64/AArch64InstrNEON.td index 63790cb..4b8bb8e 100644 --- a/lib/Target/AArch64/AArch64InstrNEON.td +++ b/lib/Target/AArch64/AArch64InstrNEON.td @@ -3853,9 +3853,9 @@ multiclass Neon_Scalar2SameMisc_cvt_SD_size_patterns<SDPatternOperator Sopnode, SDPatternOperator Dopnode, Instruction INSTS, Instruction INSTD> { - 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<SDPatternOperator Sopnode, SDPatternOperator Dopnode, Instruction INSTS, Instruction INSTD> { - 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)>; } |