]> granicus.if.org Git - clang/commitdiff
Fix this test on non-X86 platforms.
authorEli Friedman <eli.friedman@gmail.com>
Sun, 25 May 2008 04:43:38 +0000 (04:43 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Sun, 25 May 2008 04:43:38 +0000 (04:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51552 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/builtins.c

index 58cb92f5134b49a9212d2dc0133534e6e5d2cada..d02adf3165ac135b263e8e34b522851d89a83efb 100644 (file)
@@ -1,4 +1,5 @@
-// RUN: clang %s -fsyntax-only -verify -pedantic
+// RUN: clang %s -fsyntax-only -verify -pedantic -triple=i686-apple-darwin9
+// This test needs to set the target because it uses __builtin_ia32_vec_ext_v4si
 
 int test1(float a, int b) {
   return __builtin_isless(a, b);