Skip to content
Snippets Groups Projects
Commit c0995221 authored by Ahmed Bougacha's avatar Ahmed Bougacha
Browse files

[CodeGen] Check x86_64-arguments.c tests on AVX as well. NFC.

We used to only check the differing tests on AVX, but we might
as well check all of them.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237818 91177308-0d34-0410-b5e6-96231b3b80d8
parent da3e223c
No related branches found
No related tags found
No related merge requests found
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s| FileCheck %s
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-feature +avx | FileCheck %s -check-prefix=AVX
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s | \
// RUN: FileCheck %s -check-prefix=CHECK -check-prefix=SSE
// RUN: %clang_cc1 -triple x86_64-unknown-unknown -emit-llvm -o - %s -target-feature +avx | \
// RUN: FileCheck %s -check-prefix=CHECK -check-prefix=AVX
#include <stdarg.h>
// CHECK-LABEL: define signext i8 @f0()
......@@ -288,8 +290,8 @@ v2i32 f36(v2i32 arg) { return arg; }
// AVX: declare void @f38(<8 x float>)
// AVX: declare void @f37(<8 x float>)
// CHECK: declare void @f38(%struct.s256* byval align 32)
// CHECK: declare void @f37(<8 x float>* byval align 32)
// SSE: declare void @f38(%struct.s256* byval align 32)
// SSE: declare void @f37(<8 x float>* byval align 32)
typedef float __m256 __attribute__ ((__vector_size__ (32)));
typedef struct {
__m256 m;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment