[cfe-commits] r44844 - /cfe/trunk/CodeGen/CGBuiltin.cpp

Chris Lattner sabre at nondot.org
Mon Dec 10 20:33:01 PST 2007


Author: lattner
Date: Mon Dec 10 22:33:00 2007
New Revision: 44844

URL: http://llvm.org/viewvc/llvm-project?rev=44844&view=rev
Log:
fix a build issue with non-apple-gcc-4.0 compilers.

Modified:
    cfe/trunk/CodeGen/CGBuiltin.cpp

Modified: cfe/trunk/CodeGen/CGBuiltin.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CodeGen/CGBuiltin.cpp?rev=44844&r1=44843&r2=44844&view=diff

==============================================================================
--- cfe/trunk/CodeGen/CGBuiltin.cpp (original)
+++ cfe/trunk/CodeGen/CGBuiltin.cpp Mon Dec 10 22:33:00 2007
@@ -216,9 +216,10 @@
     return Builder.CreateAnd(EmitScalarExpr(E->getArg(0)),
                              EmitScalarExpr(E->getArg(1)),
                              "pxor");
-  case X86::BI__builtin_ia32_pandn:
+  case X86::BI__builtin_ia32_pandn: {
     llvm::Value *V1 = Builder.CreateNot(EmitScalarExpr(E->getArg(0)), "tmp");
     return Builder.CreateAnd(V1, EmitScalarExpr(E->getArg(1)), "pandn");
+  }
   case X86::BI__builtin_ia32_paddb:
   case X86::BI__builtin_ia32_paddd:
   case X86::BI__builtin_ia32_paddq:





More information about the cfe-commits mailing list