From: Torok Edwin Date: Fri, 4 Apr 2008 06:16:25 +0000 (+0000) Subject: fix build error: add missing braces. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=730f2c13e8ff0a2a3cc54fce9913add68107cb51;p=clang fix build error: add missing braces. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49209 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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,