]> granicus.if.org Git - clang/commitdiff
Add target requirement to profile remap test.
authorYvan Roux <yvan.roux@linaro.org>
Tue, 16 Oct 2018 08:47:36 +0000 (08:47 +0000)
committerYvan Roux <yvan.roux@linaro.org>
Tue, 16 Oct 2018 08:47:36 +0000 (08:47 +0000)
 Fix bots which don't have x86_64 target built (ARM/AArch64).

 Differential Revision: https://reviews.llvm.org/D53272

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

test/CodeGenCXX/profile-remap.cpp

index e122db108369e74cf1634319d96ae0e1d1bd0e43..0fc7c7b40033e282a2ca6a12d6e9a60b917990d5 100644 (file)
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+//
 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fprofile-sample-use=%S/Inputs/profile-remap.samples -fprofile-remapping-file=%S/Inputs/profile-remap.map -fexperimental-new-pass-manager -O2 %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-SAMPLES
 // RUN: llvm-profdata merge -output %T.profdata %S/Inputs/profile-remap.proftext
 // RUN: %clang_cc1 -triple x86_64-linux-gnu -fprofile-instrument-use-path=%T.profdata -fprofile-remapping-file=%S/Inputs/profile-remap.map -fexperimental-new-pass-manager -O2 %s -emit-llvm -o - | FileCheck %s --check-prefixes=CHECK,CHECK-INSTR