From a3da97b0d48923534e301e8f1b072cfdf7f11c47 Mon Sep 17 00:00:00 2001 From: Chad Rosier Date: Tue, 10 Dec 2013 21:34:23 +0000 Subject: [PATCH] [AArch64] Refactor the NEON floating-point absolute difference LLVM AArch64 intrinsic to use f32/f64 types, rather than their vector equivalents. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196969 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGBuiltin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index 45b4b928ab..66e0133f53 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -2361,7 +2361,7 @@ static Value *EmitAArch64ScalarBuiltinExpr(CodeGenFunction &CGF, case AArch64::BI__builtin_neon_vabds_f32: case AArch64::BI__builtin_neon_vabdd_f64: Int = Intrinsic::aarch64_neon_vabd; - s = "vabd"; IntTypes = VectorRet; break; + s = "vabd"; IntTypes = ScalarRet; break; // Scalar Signed Saturating Absolute Value case AArch64::BI__builtin_neon_vqabsb_s8: case AArch64::BI__builtin_neon_vqabsh_s16: -- 2.50.0