[llvm] r257899 - Make sure this test is actually executed.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 15 08:16:47 PST 2016
Author: rafael
Date: Fri Jan 15 10:16:46 2016
New Revision: 257899
URL: http://llvm.org/viewvc/llvm-project?rev=257899&view=rev
Log:
Make sure this test is actually executed.
Before it was always unsupported.
Modified:
llvm/trunk/test/tools/lto/lit.local.cfg
llvm/trunk/test/tools/lto/opt-level.ll
Modified: llvm/trunk/test/tools/lto/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/lto/lit.local.cfg?rev=257899&r1=257898&r2=257899&view=diff
==============================================================================
--- llvm/trunk/test/tools/lto/lit.local.cfg (original)
+++ llvm/trunk/test/tools/lto/lit.local.cfg Fri Jan 15 10:16:46 2016
@@ -1,2 +1,2 @@
-if not 'ld64_plugin' in config.available_features:
+if not ('ld64_plugin' in config.available_features and 'X86' in config.root.targets):
config.unsupported = True
Modified: llvm/trunk/test/tools/lto/opt-level.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/lto/opt-level.ll?rev=257899&r1=257898&r2=257899&view=diff
==============================================================================
--- llvm/trunk/test/tools/lto/opt-level.ll (original)
+++ llvm/trunk/test/tools/lto/opt-level.ll Fri Jan 15 10:16:46 2016
@@ -3,7 +3,6 @@
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O0 %s
; RUN: %ld64 -lto_library %llvmshlibdir/libLTO.dylib -arch x86_64 -dylib -mllvm -O2 -o %t.dylib %t.o
; RUN: llvm-nm -no-llvm-bc %t.dylib | FileCheck --check-prefix=CHECK-O2 %s
-; REQUIRES: X86
target triple = "x86_64-apple-macosx10.8.0"
More information about the llvm-commits
mailing list