]> granicus.if.org Git - clang/commitdiff
I can't figure out any reasonable way to make this test non-host-dependent,
authorJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 20:46:42 +0000 (20:46 +0000)
committerJohn McCall <rjmccall@apple.com>
Wed, 6 Apr 2011 20:46:42 +0000 (20:46 +0000)
so I'm killing it.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129026 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/avx-cmp-builtins.c [deleted file]

diff --git a/test/CodeGen/avx-cmp-builtins.c b/test/CodeGen/avx-cmp-builtins.c
deleted file mode 100644 (file)
index cac08d2..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-unknown-unknown -target-feature +avx -emit-llvm %s -o - | FileCheck %s
-#include <immintrin.h>
-
-//
-// Test if third argument of cmp_XY function in LLVM IR form has immediate value.
-//
-void test_cmp_ps256() {
-    __m256 a, b, c;
-    a = _mm256_cmp_ps(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_ps256
-    // CHECK: call <8 x float> @llvm.x86.avx.cmp.ps.256(<8 x float> {{%.*}}, <8 x float> {{%.*}}, i8 13)
-}
-
-void test_cmp_pd256() {
-    __m256d a, b, c;
-    a = _mm256_cmp_pd(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_pd256
-    // CHECK: call <4 x double> @llvm.x86.avx.cmp.pd.256(<4 x double> {{%.*}}, <4 x double> {{%.*}}, i8 13)
-}
-
-void test_cmp_ps() {
-    __m128 a, b, c;
-    a = _mm_cmp_ps(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_ps
-    // CHECK: call <4 x float> @llvm.x86.sse.cmp.ps(<4 x float> {{%.*}}, <4 x float> {{%.*}}, i8 13)
-}
-
-void test_cmp_pd() {
-    __m128d a, b, c;
-    a = _mm_cmp_pd(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_pd
-    // CHECK: call <2 x double> @llvm.x86.sse2.cmp.pd(<2 x double> {{%.*}}, <2 x double> {{%.*}}, i8 13)
-}
-
-void test_cmp_sd() {
-    __m128d a, b, c;
-    a = _mm_cmp_sd(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_sd
-    // CHECK: call <2 x double> @llvm.x86.sse2.cmp.sd(<2 x double> {{%.*}}, <2 x double> {{%.*}}, i8 13)
-}
-
-void test_cmp_ss() {
-    __m128 a, b, c;
-    a = _mm_cmp_ss(b, c, _CMP_GE_OS);
-    // CHECK: @test_cmp_ss
-    // CHECK: call <4 x float> @llvm.x86.sse.cmp.ss(<4 x float> {{%.*}}, <4 x float> {{%.*}}, i8 13)
-}