[PATCH] D53272: Add target requirement to profile remap test.

Yvan Roux via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 15 01:57:49 PDT 2018


yroux created this revision.
yroux added a reviewer: rsmith.
Herald added a reviewer: javed.absar.
Herald added a subscriber: kristof.beyls.

Fix bots which don't have x86_64 target built (ARM/AArch64).


Repository:
  rC Clang

https://reviews.llvm.org/D53272

Files:
  test/CodeGenCXX/profile-remap.cpp


Index: test/CodeGenCXX/profile-remap.cpp
===================================================================
--- test/CodeGenCXX/profile-remap.cpp
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53272.169659.patch
Type: text/x-patch
Size: 826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181015/e0e067b2/attachment.bin>


More information about the cfe-commits mailing list