[cfe-commits] r127799 - /cfe/trunk/test/Sema/uninit-variables-vectors.c
Ted Kremenek
kremenek at apple.com
Wed Mar 16 21:16:45 PDT 2011
Author: kremenek
Date: Wed Mar 16 23:16:45 2011
New Revision: 127799
URL: http://llvm.org/viewvc/llvm-project?rev=127799&view=rev
Log:
Make test more portable.
Modified:
cfe/trunk/test/Sema/uninit-variables-vectors.c
Modified: cfe/trunk/test/Sema/uninit-variables-vectors.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/uninit-variables-vectors.c?rev=127799&r1=127798&r2=127799&view=diff
==============================================================================
--- cfe/trunk/test/Sema/uninit-variables-vectors.c (original)
+++ cfe/trunk/test/Sema/uninit-variables-vectors.c Wed Mar 16 23:16:45 2011
@@ -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 <xmmintrin.h>
+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}}
More information about the cfe-commits
mailing list