From c9dcb45795d9be5c33d4cc03ebfab5ee2f173a7c Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 17 Mar 2011 04:16:45 +0000 Subject: [PATCH] Make test more portable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127799 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Sema/uninit-variables-vectors.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/Sema/uninit-variables-vectors.c b/test/Sema/uninit-variables-vectors.c index 7197fb6327..d59d6fef00 100644 --- a/test/Sema/uninit-variables-vectors.c +++ b/test/Sema/uninit-variables-vectors.c @@ -1,6 +1,9 @@ -// RUN: %clang_cc1 -fsyntax-only -Wuninitialized -fsyntax-only %s -verify +// RUN: %clang_cc1 -triple x86_64-apple-darwin10.0.0 -fsyntax-only -Wuninitialized -fsyntax-only %s -verify -#include +typedef int __v4si __attribute__((__vector_size__(16))); +typedef float __m128 __attribute__((__vector_size__(16))); +__m128 _mm_xor_ps(__m128 a, __m128 b); +__m128 _mm_loadu_ps(const float *p); void test1(float *input) { __m128 x, y, z, w, X; // expected-note {{variable 'x' is declared here}} expected-note {{variable 'y' is declared here}} expected-note {{variable 'w' is declared here}} expected-note {{variable 'z' is declared here}} -- 2.40.0