]> granicus.if.org Git - clang/commitdiff
Add a target triple to a couple of tests which depend on it. Reported
authorEli Friedman <eli.friedman@gmail.com>
Thu, 18 Jun 2009 02:04:19 +0000 (02:04 +0000)
committerEli Friedman <eli.friedman@gmail.com>
Thu, 18 Jun 2009 02:04:19 +0000 (02:04 +0000)
by Mark Cianciosa on cfe-dev.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73672 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2009-05-22-callingconv.c
test/CodeGen/libcalls.c

index 2b70d840c06173319527647a085eda20d1e521e1..8afc656843ea617b7e338c703edb99bafe0fb607 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc %s -emit-llvm -o - | grep call | grep x86_stdcallcc
+// RUN: clang-cc %s -emit-llvm -o - -triple i386-unknown-unknown | grep call | grep x86_stdcallcc
 void abort(void) __attribute__((__noreturn__));
 typedef void re_string_t;
 typedef void re_dfa_t;
index 695321622fed64d4215e9ff3e81b64ec1f82fac8..ea9e0c3dd91b3b5555d7eb2e8b3c3edc8d815008 100644 (file)
@@ -1,7 +1,7 @@
-// RUN: clang-cc -fmath-errno=1 -emit-llvm -o %t %s &&
+// RUN: clang-cc -fmath-errno=1 -emit-llvm -o %t %s -triple i386-unknown-unknown &&
 // RUN: grep "declare " %t | count 6 &&
 // RUN: grep "declare " %t | grep "@llvm." | count 1 &&
-// RUN: clang-cc -fmath-errno=0 -emit-llvm -o %t %s &&
+// RUN: clang-cc -fmath-errno=0 -emit-llvm -o %t %s -triple i386-unknown-unknown &&
 // RUN: grep "declare " %t | count 6 &&
 // RUN: grep "declare " %t | grep -v "@llvm." | count 0