[cfe-commits] r116888 - in /cfe/trunk/test: CodeGen/mmx-builtins.c CodeGen/vector.c Headers/c89.c

Bill Wendling isanbard at gmail.com
Tue Oct 19 17:12:59 PDT 2010


Author: void
Date: Tue Oct 19 19:12:59 2010
New Revision: 116888

URL: http://llvm.org/viewvc/llvm-project?rev=116888&view=rev
Log:
Linux still needs these hacks.

Modified:
    cfe/trunk/test/CodeGen/mmx-builtins.c
    cfe/trunk/test/CodeGen/vector.c
    cfe/trunk/test/Headers/c89.c

Modified: cfe/trunk/test/CodeGen/mmx-builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mmx-builtins.c?rev=116888&r1=116887&r2=116888&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/mmx-builtins.c (original)
+++ cfe/trunk/test/CodeGen/mmx-builtins.c Tue Oct 19 19:12:59 2010
@@ -1,5 +1,9 @@
 // RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +ssse3 -S -o - | FileCheck %s
 
+// FIXME: Disable inclusion of mm_malloc.h, our current implementation is broken
+// on win32 since we don't generally know how to find errno.h.
+#define __MM_MALLOC_H
+
 #include <tmmintrin.h>
 
 __m64 test1(__m64 a, __m64 b) {

Modified: cfe/trunk/test/CodeGen/vector.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/vector.c?rev=116888&r1=116887&r2=116888&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/vector.c (original)
+++ cfe/trunk/test/CodeGen/vector.c Tue Oct 19 19:12:59 2010
@@ -18,6 +18,11 @@
   (*a)[b] = c;
 }
 
+
+
+// Don't include mm_malloc.h, it's system specific.
+#define __MM_MALLOC_H
+
 #include <mmintrin.h>
 
 int test4(int argc, char *argv[]) {

Modified: cfe/trunk/test/Headers/c89.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/c89.c?rev=116888&r1=116887&r2=116888&view=diff
==============================================================================
--- cfe/trunk/test/Headers/c89.c (original)
+++ cfe/trunk/test/Headers/c89.c Tue Oct 19 19:12:59 2010
@@ -1,5 +1,10 @@
 // RUN: %clang -ccc-host-triple i386-apple-darwin10 -fsyntax-only -Xclang -verify -std=c89 %s
 
+// FIXME: Disable inclusion of mm_malloc.h, our current implementation is broken
+// on win32 since we don't generally know how to find errno.h.
+
+#define __MM_MALLOC_H
+
 // PR6658
 #include <xmmintrin.h>
 





More information about the cfe-commits mailing list