]> granicus.if.org Git - llvm/commitdiff
Fix bot failures by requiring x86 target in new test
authorTeresa Johnson <tejohnson@google.com>
Wed, 13 Sep 2017 15:35:35 +0000 (15:35 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 13 Sep 2017 15:35:35 +0000 (15:35 +0000)
The test added in r313151 requires a target triple since it is
running through code generation. Fix bot failures by requiring
an x86 target.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313153 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll

index 1e6879dc3133eba170c65112518702d9e88a5f76..c1c074e75a70b66ccc613c8584fbc2595c0f4d4a 100644 (file)
@@ -6,6 +6,8 @@
 ; need adjustment (in that case _ZL3foov should not be imported/promoted,
 ; and _ZL3barv can be internalized/removed).
 
+; REQUIRES: x86-registered-target
+
 ; Do setup work for all below tests: generate bitcode and combined index
 ; RUN: opt -module-summary %s -o %t.bc
 ; RUN: opt -module-summary %p/Inputs/thinlto_samplepgo_icp2a.ll -o %t2a.bc