From f042fe468be9254e12ec528d73c93f252ff331b3 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 24 May 2016 23:37:56 +0000 Subject: [PATCH] Rename test/CodeGen/inline-optim.cc to .c and provide a triple git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270633 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/{inline-optim.cc => inline-optim.c} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename test/CodeGen/{inline-optim.cc => inline-optim.c} (67%) diff --git a/test/CodeGen/inline-optim.cc b/test/CodeGen/inline-optim.c similarity index 67% rename from test/CodeGen/inline-optim.cc rename to test/CodeGen/inline-optim.c index b3c3e52178..7ee9c03341 100644 --- a/test/CodeGen/inline-optim.cc +++ b/test/CodeGen/inline-optim.c @@ -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); } -- 2.40.0