r290451 - [PM] Fix up from r290449 to start requiring the x86 target to be

Chandler Carruth via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 23 13:19:16 PST 2016


Author: chandlerc
Date: Fri Dec 23 15:19:16 2016
New Revision: 290451

URL: http://llvm.org/viewvc/llvm-project?rev=290451&view=rev
Log:
[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.

Modified:
    cfe/trunk/test/CodeGen/inline-optim.c

Modified: cfe/trunk/test/CodeGen/inline-optim.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/inline-optim.c?rev=290451&r1=290450&r2=290451&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/inline-optim.c (original)
+++ cfe/trunk/test/CodeGen/inline-optim.c Fri Dec 23 15:19:16 2016
@@ -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




More information about the cfe-commits mailing list