From: Ahmed Bougacha Date: Wed, 20 May 2015 18:39:16 +0000 (+0000) Subject: [CodeGen] Check x86_64-arguments.c tests on AVX as well. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c099522191ad45084770fa629bd4d06460c2c8ac;p=clang [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 --- diff --git a/test/CodeGen/x86_64-arguments.c b/test/CodeGen/x86_64-arguments.c index f52629c651..c412e3c06e 100644 --- a/test/CodeGen/x86_64-arguments.c +++ b/test/CodeGen/x86_64-arguments.c @@ -1,5 +1,7 @@ -// 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 // 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;