[cfe-commits] r73672 - in /cfe/trunk/test/CodeGen: 2009-05-22-callingconv.c libcalls.c

Eli Friedman eli.friedman at gmail.com
Wed Jun 17 19:04:19 PDT 2009


Author: efriedma
Date: Wed Jun 17 21:04:19 2009
New Revision: 73672

URL: http://llvm.org/viewvc/llvm-project?rev=73672&view=rev
Log:
Add a target triple to a couple of tests which depend on it.  Reported 
by Mark Cianciosa on cfe-dev.


Modified:
    cfe/trunk/test/CodeGen/2009-05-22-callingconv.c
    cfe/trunk/test/CodeGen/libcalls.c

Modified: cfe/trunk/test/CodeGen/2009-05-22-callingconv.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2009-05-22-callingconv.c?rev=73672&r1=73671&r2=73672&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/2009-05-22-callingconv.c (original)
+++ cfe/trunk/test/CodeGen/2009-05-22-callingconv.c Wed Jun 17 21:04:19 2009
@@ -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;

Modified: cfe/trunk/test/CodeGen/libcalls.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/libcalls.c?rev=73672&r1=73671&r2=73672&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/libcalls.c (original)
+++ cfe/trunk/test/CodeGen/libcalls.c Wed Jun 17 21:04:19 2009
@@ -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
 





More information about the cfe-commits mailing list