diff options
| author | Bill Wendling <isanbard@gmail.com> | 2010-10-20 00:12:59 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2010-10-20 00:12:59 +0000 |
| commit | 67c56217425e4207da3f2f889ed9a51026b8d222 (patch) | |
| tree | 324141d7eae3c1c0161551076fb5fc0fd12b68d9 | |
| parent | a41f66064f2a524acb8321b4d8a2e883cd1520b4 (diff) | |
| download | bcm5719-llvm-67c56217425e4207da3f2f889ed9a51026b8d222.tar.gz bcm5719-llvm-67c56217425e4207da3f2f889ed9a51026b8d222.zip | |
Linux still needs these hacks.
llvm-svn: 116888
| -rw-r--r-- | clang/test/CodeGen/mmx-builtins.c | 4 | ||||
| -rw-r--r-- | clang/test/CodeGen/vector.c | 5 | ||||
| -rw-r--r-- | clang/test/Headers/c89.c | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/clang/test/CodeGen/mmx-builtins.c b/clang/test/CodeGen/mmx-builtins.c index a46601f93c3..7934e77890b 100644 --- a/clang/test/CodeGen/mmx-builtins.c +++ b/clang/test/CodeGen/mmx-builtins.c @@ -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) { diff --git a/clang/test/CodeGen/vector.c b/clang/test/CodeGen/vector.c index 099867732bd..3fa5f1441d2 100644 --- a/clang/test/CodeGen/vector.c +++ b/clang/test/CodeGen/vector.c @@ -18,6 +18,11 @@ void test3 ( vec4* a, char b, float c ) { (*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[]) { diff --git a/clang/test/Headers/c89.c b/clang/test/Headers/c89.c index 618f11510d4..9e01ff9297b 100644 --- a/clang/test/Headers/c89.c +++ b/clang/test/Headers/c89.c @@ -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> |

