From 0ccabd51e2b0af2709210abdf2b841ee38ce21a4 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 23 Dec 2016 21:19:16 +0000 Subject: [PATCH] [PM] Fix up from r290449 to start requiring the x86 target to be available. It doesn't seem terribly important to test this with a specific target triple but without that target available. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290451 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/inline-optim.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/inline-optim.c b/test/CodeGen/inline-optim.c index 92669cc6e2..c6038de173 100644 --- a/test/CodeGen/inline-optim.c +++ b/test/CodeGen/inline-optim.c @@ -1,5 +1,7 @@ // Make sure -finline-functions family flags are behaving correctly. - +// +// REQUIRES: x86-registered-target +// // RUN: %clang_cc1 -triple i686-pc-win32 -emit-llvm %s -o - | FileCheck -check-prefix=NOINLINE %s // RUN: %clang_cc1 -triple i686-pc-win32 -fexperimental-new-pass-manager -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 -- 2.40.0