From: Yvan Roux Date: Tue, 16 Oct 2018 08:47:36 +0000 (+0000) Subject: Add target requirement to profile remap test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=750cd67a8e656ea9964f5109a3538c832ff55701;p=clang Add target requirement to profile remap test. 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 --- diff --git a/test/CodeGenCXX/profile-remap.cpp b/test/CodeGenCXX/profile-remap.cpp index e122db1083..0fc7c7b400 100644 --- a/test/CodeGenCXX/profile-remap.cpp +++ b/test/CodeGenCXX/profile-remap.cpp @@ -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