aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-10-06 03:31:09 +0000
committerBill Wendling <isanbard@gmail.com>2010-10-06 03:31:09 +0000
commit2ef48a463c7f45114a074314c51fe523d5dfd004 (patch)
tree58ae027ef3b72f4f37a5a9ad34ac791bfc0015d7
parent175ffbf7db893181b301e201c561ac928266f4be (diff)
Add same hack to mmx-builtins.c as in Headers/c89.c to get it to pass on Win32. PR6658.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115735 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/mmx-builtins.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CodeGen/mmx-builtins.c b/test/CodeGen/mmx-builtins.c
index a46601f93c..0252aebfcb 100644
--- a/test/CodeGen/mmx-builtins.c
+++ b/test/CodeGen/mmx-builtins.c
@@ -1,5 +1,10 @@
// 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
+
+// PR6658
#include <tmmintrin.h>
__m64 test1(__m64 a, __m64 b) {