From 730f2c13e8ff0a2a3cc54fce9913add68107cb51 Mon Sep 17 00:00:00 2001 From: Torok Edwin Date: Fri, 4 Apr 2008 06:16:25 +0000 Subject: [PATCH] fix build error: add missing braces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49209 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CGBuiltin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/CodeGen/CGBuiltin.cpp b/lib/CodeGen/CGBuiltin.cpp index e26fb01687..46d955d31e 100644 --- a/lib/CodeGen/CGBuiltin.cpp +++ b/lib/CodeGen/CGBuiltin.cpp @@ -469,12 +469,13 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID, } case X86::BI__builtin_ia32_movss: return EmitShuffleVector(Ops[0], Ops[1], 4, 1, 2, 3, "movss"); - case X86::BI__builtin_ia32_shufps: + case X86::BI__builtin_ia32_shufps: { unsigned i = cast(Ops[2])->getZExtValue(); return EmitShuffleVector(Ops[0], Ops[1], i & 0x3, (i & 0xc) >> 2, ((i & 0x30) >> 4) + 4, ((i & 0x60) >> 6) + 4, "shufps"); + } case X86::BI__builtin_ia32_punpcklbw128: return EmitShuffleVector(Ops[0], Ops[1], 0, 16, 1, 17, 2, 18, 3, 19, 4, 20, 5, 21, 6, 22, 7, 23, -- 2.40.0