aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-10-19 20:08:12 +0000
committerBill Wendling <isanbard@gmail.com>2010-10-19 20:08:12 +0000
commitda7700e8180a3959a9f07debe3dbc358a5ea0639 (patch)
tree29e13d2cd67737dbfe99a3930f8175b98ea09841
parent362a8f21a6438bb0b1901e0b7ae44b5c33fb48ca (diff)
Now that mm_malloc.h was rewritten to *not* include errno.h (see
http://llvm.org/viewvc/llvm-project?rev=116771&view=rev) we can get rid of these hacks. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116853 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/mmx-builtins.c4
-rw-r--r--test/CodeGen/vector.c5
-rw-r--r--test/Headers/c89.c5
3 files changed, 0 insertions, 14 deletions
diff --git a/test/CodeGen/mmx-builtins.c b/test/CodeGen/mmx-builtins.c
index 7934e77890..a46601f93c 100644
--- a/test/CodeGen/mmx-builtins.c
+++ b/test/CodeGen/mmx-builtins.c
@@ -1,9 +1,5 @@
// 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/test/CodeGen/vector.c b/test/CodeGen/vector.c
index 3fa5f1441d..099867732b 100644
--- a/test/CodeGen/vector.c
+++ b/test/CodeGen/vector.c
@@ -18,11 +18,6 @@ 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/test/Headers/c89.c b/test/Headers/c89.c
index 9e01ff9297..618f11510d 100644
--- a/test/Headers/c89.c
+++ b/test/Headers/c89.c
@@ -1,10 +1,5 @@
// 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>