[llvm-commits] [128616] Fix a recent regression that broke the logical __builtin_*pd ops.
clattner at apple.com
clattner at apple.com
Tue Jun 19 11:40:06 PDT 2007
Revision: 128616
Author: clattner
Date: 2007-06-19 11:40:06 -0700 (Tue, 19 Jun 2007)
Log Message:
-----------
Fix a recent regression that broke the logical __builtin_*pd ops.
Modified Paths:
--------------
apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp
Modified: apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp
===================================================================
--- apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp 2007-06-19 18:06:58 UTC (rev 128615)
+++ apple-local/branches/llvm/gcc/config/i386/llvm-i386.cpp 2007-06-19 18:40:06 UTC (rev 128616)
@@ -250,15 +250,19 @@
Ops[1] = Builder.CreateBitCast(Ops[1], Ops[0]->getType(), "tmp");
switch (FnCode) {
case IX86_BUILTIN_ANDPS:
+ case IX86_BUILTIN_ANDPD:
Result = Builder.CreateAnd(Ops[0], Ops[1], "tmp");
break;
case IX86_BUILTIN_ORPS:
+ case IX86_BUILTIN_ORPD:
Result = Builder.CreateOr (Ops[0], Ops[1], "tmp");
break;
case IX86_BUILTIN_XORPS:
+ case IX86_BUILTIN_XORPD:
Result = Builder.CreateXor(Ops[0], Ops[1], "tmp");
break;
case IX86_BUILTIN_ANDNPS:
+ case IX86_BUILTIN_ANDNPD:
Ops[0] = Builder.CreateNot(Ops[0], "tmp");
Result = Builder.CreateAnd(Ops[0], Ops[1], "tmp");
break;
More information about the llvm-commits
mailing list