r344593 - Add target requirement to profile remap test.
Yvan Roux via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 16 01:47:37 PDT 2018
Author: yroux
Date: Tue Oct 16 01:47:36 2018
New Revision: 344593
URL: http://llvm.org/viewvc/llvm-project?rev=344593&view=rev
Log:
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
Modified:
cfe/trunk/test/CodeGenCXX/profile-remap.cpp
Modified: cfe/trunk/test/CodeGenCXX/profile-remap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/profile-remap.cpp?rev=344593&r1=344592&r2=344593&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/profile-remap.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/profile-remap.cpp Tue Oct 16 01:47:36 2018
@@ -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
More information about the cfe-commits
mailing list