summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/avx512vldq-builtins.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-10-14 05:40:21 +0000
committerEric Christopher <echristo@gmail.com>2015-10-14 05:40:21 +0000
commitcd875efa7860864d19a7efc848394a16fbd9d73a (patch)
treefd1891611cc659ad63f7ddef449d83ca9d62f6a2 /clang/test/CodeGen/avx512vldq-builtins.c
parent442c9b6b419bea74e9b1dfc7b50ca10645dc9750 (diff)
downloadbcm5719-llvm-cd875efa7860864d19a7efc848394a16fbd9d73a.tar.gz
bcm5719-llvm-cd875efa7860864d19a7efc848394a16fbd9d73a.zip
Canonicalize some of the x86 builtin tests and either remove or comment
about optimization options. llvm-svn: 250271
Diffstat (limited to 'clang/test/CodeGen/avx512vldq-builtins.c')
-rw-r--r--clang/test/CodeGen/avx512vldq-builtins.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/test/CodeGen/avx512vldq-builtins.c b/clang/test/CodeGen/avx512vldq-builtins.c
index 582f30be4d8..69bdc7a1104 100644
--- a/clang/test/CodeGen/avx512vldq-builtins.c
+++ b/clang/test/CodeGen/avx512vldq-builtins.c
@@ -1,4 +1,7 @@
-// RUN: %clang_cc1 %s -O0 -triple=x86_64-apple-darwin -ffreestanding -target-feature +avx512dq -target-feature +avx512vl -emit-llvm -o - -Werror | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin -target-feature +avx512dq -target-feature +avx512vl -emit-llvm -o - -Werror | FileCheck %s
+
+// Don't include mm_malloc.h, it's system specific.
+#define __MM_MALLOC_H
#include <immintrin.h>
@@ -804,4 +807,4 @@ __m256 test_mm256_maskz_reduce_ps(__mmask8 __U, __m256 __A) {
// CHECK-LABEL: @test_mm256_maskz_reduce_ps
// CHECK: @llvm.x86.avx512.mask.reduce.ps.256
return _mm256_maskz_reduce_ps(__U, __A, 4);
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud