From f579c5a871398609d60629a5f8bf47b2aae9b2a7 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Sat, 29 Mar 2014 15:26:07 +0000 Subject: [PATCH] ARM64: Fix GCC warning in CGBuiltin.cpp git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205104 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 e7793aab95..dc80abf4c9 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -5749,7 +5749,7 @@ Value *CodeGenFunction::EmitARM64BuiltinExpr(unsigned BuiltinID, case NEON::BI__builtin_neon_vmull_v: // FIXME: improve sharing scheme to cope with 3 alternative LLVM intrinsics. Int = usgn ? Intrinsic::arm64_neon_umull : Intrinsic::arm64_neon_smull; - Int = Type.isPoly() ? Intrinsic::arm64_neon_pmull : Int; + if (Type.isPoly()) Int = Intrinsic::arm64_neon_pmull; return EmitNeonCall(CGM.getIntrinsic(Int, Ty), Ops, "vmull"); case NEON::BI__builtin_neon_vmax_v: case NEON::BI__builtin_neon_vmaxq_v: -- 2.40.0