]> granicus.if.org Git - clang/commitdiff
Rename test/CodeGen/inline-optim.cc to .c and provide a triple
authorHans Wennborg <hans@hanshq.net>
Tue, 24 May 2016 23:37:56 +0000 (23:37 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 24 May 2016 23:37:56 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270633 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/inline-optim.c [moved from test/CodeGen/inline-optim.cc with 67% similarity]

similarity index 67%
rename from test/CodeGen/inline-optim.cc
rename to test/CodeGen/inline-optim.c
index b3c3e521782a7a8d12ffde2b3fdf3276736f7574..7ee9c0334103ed634947da01b5d594e8cc39fc3b 100644 (file)
@@ -1,8 +1,8 @@
 // Make sure -finline-functions family flags are behaving correctly.
 
-// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
-// RUN: %clang_cc1 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
-// RUN: %clang_cc1 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
+// RUN: %clang_cc1 -triple i686-pc-win32 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
+// RUN: %clang_cc1 -triple i686-pc-win32 -O3 -fno-inline-functions -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s
+// RUN: %clang_cc1 -triple i686-pc-win32 -finline-functions -emit-llvm %s -o - | FileCheck -check-prefix=INLINE %s
 
 inline int inline_hint(int a, int b) { return(a+b); }