diff options
| author | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-11 21:03:52 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@codeaurora.org> | 2013-12-11 21:03:52 +0000 |
| commit | 6ce4387c5cc2e8a8079f8ca09dc9f7032c8b3557 (patch) | |
| tree | e2549b8e471fd4a75cea40945a64e0416110860a | |
| parent | 088f93d4b5dd4aee97360b79fce892a16dcf1536 (diff) | |
| download | bcm5719-llvm-6ce4387c5cc2e8a8079f8ca09dc9f7032c8b3557.tar.gz bcm5719-llvm-6ce4387c5cc2e8a8079f8ca09dc9f7032c8b3557.zip | |
[AArch64] Refactor the NEON scalar floating-point reciprocal estimate, floating-
point reciprocal exponent, and floating-point reciprocal square root estimate
LLVM AArch64 intrinsics to use f32/f64 types, rather than their vector
equivalents.
llvm-svn: 197069
| -rw-r--r-- | clang/lib/CodeGen/CGBuiltin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index 66e0133f539..7cef28cb86d 100644 --- a/clang/lib/CodeGen/CGBuiltin.cpp +++ b/clang/lib/CodeGen/CGBuiltin.cpp @@ -2185,18 +2185,18 @@ static Value *EmitAArch64ScalarBuiltinExpr(CodeGenFunction &CGF, // Scalar Floating-point Reciprocal Estimate case AArch64::BI__builtin_neon_vrecpes_f32: case AArch64::BI__builtin_neon_vrecped_f64: - Int = Intrinsic::arm_neon_vrecpe; - s = "vrecpe"; IntTypes = VectorRet; break; + Int = Intrinsic::aarch64_neon_vrecpe; + s = "vrecpe"; IntTypes = ScalarRet; break; // Scalar Floating-point Reciprocal Exponent case AArch64::BI__builtin_neon_vrecpxs_f32: case AArch64::BI__builtin_neon_vrecpxd_f64: Int = Intrinsic::aarch64_neon_vrecpx; - s = "vrecpx"; IntTypes = VectorRet; break; + s = "vrecpx"; IntTypes = ScalarRet; break; // Scalar Floating-point Reciprocal Square Root Estimate case AArch64::BI__builtin_neon_vrsqrtes_f32: case AArch64::BI__builtin_neon_vrsqrted_f64: - Int = Intrinsic::arm_neon_vrsqrte; - s = "vrsqrte"; IntTypes = VectorRet; break; + Int = Intrinsic::aarch64_neon_vrsqrte; + s = "vrsqrte"; IntTypes = ScalarRet; break; // Scalar Compare Equal case AArch64::BI__builtin_neon_vceqd_s64: case AArch64::BI__builtin_neon_vceqd_u64: |

