Skip to content

Commit 2907a0b

Browse files
authored
Revert "[MemProf] Drop unneccessary REQUIRES: x86-linux directives. (#142718)"
This reverts commit a87c4ee.
1 parent e03044f commit 2907a0b

9 files changed

+12
-0
lines changed

llvm/test/Transforms/PGOProfile/memprof-call-site-at-alloc-site.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
; allocation call stack but does not call one of the memory allocation
33
; functions.
44

5+
; REQUIRES: x86_64-linux
56
; RUN: split-file %s %t
67
; RUN: llvm-profdata merge %t/memprof-call-site-at-alloc-site.yaml -o %t/memprof-call-site-at-alloc-site.memprofdata
78
; RUN: opt < %t/memprof-call-site-at-alloc-site.ll -passes='memprof-use<profile-filename=%t/memprof-call-site-at-alloc-site.memprofdata>' -memprof-print-match-info -S 2>&1 | FileCheck %s

llvm/test/Transforms/PGOProfile/memprof-dump-matched-alloc-site.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
;
2424
; Here we expect to match the allocation site to encompass 3 frames.
2525

26+
; REQUIRES: x86_64-linux
2627
; RUN: split-file %s %t
2728
; RUN: llvm-profdata merge %t/memprof-dump-matched-alloc-site.yaml -o %t/memprof-dump-matched-alloc-site.memprofdata
2829
; RUN: opt < %t/memprof-dump-matched-alloc-site.ll -passes='memprof-use<profile-filename=%t/memprof-dump-matched-alloc-site.memprofdata>' -memprof-print-match-info -S 2>&1 | FileCheck %s

llvm/test/Transforms/PGOProfile/memprof-dump-matched-call-sites.ll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
; Note that f3 is considered to be an allocation site, not a call site, because
3232
; it directly calls new after inlining.
3333

34+
; REQUIRES: x86_64-linux
3435
; RUN: split-file %s %t
3536
; RUN: llvm-profdata merge %t/memprof-dump-matched-call-site.yaml -o %t/memprof-dump-matched-call-site.memprofdata
3637
; RUN: opt < %t/memprof-dump-matched-call-site.ll -passes='memprof-use<profile-filename=%t/memprof-dump-matched-call-site.memprofdata>' -memprof-print-match-info -S 2>&1 | FileCheck %s

llvm/test/Transforms/PGOProfile/memprof-undrift.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: x86_64-linux
12

23
; Make sure that we can undrift the MemProf profile and annotate the IR
34
; accordingly.

llvm/test/Transforms/PGOProfile/memprof_annotate_yaml.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: x86_64-linux
12

23
; Make sure that we can ingest the MemProf profile in YAML and
34
; annotate a call to new as cold.

llvm/test/Transforms/PGOProfile/memprof_discard_threshold.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
;; Tests option to discard small noncold contexts.
22

3+
;; Avoid failures on big-endian systems that can't read the profile properly
4+
; REQUIRES: x86_64-linux
35

46
;; Generate the profile and the IR.
57
; RUN: split-file %s %t

llvm/test/Transforms/PGOProfile/memprof_match_hot_cold_new_calls.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
;; Tests optional matching of memprof profile on call to operator new
22
;; with manual hot/cold hint.
33

4+
;; Avoid failures on big-endian systems that can't read the profile properly
5+
; REQUIRES: x86_64-linux
46

57
;; Generate the profile and the IR.
68
; RUN: split-file %s %t

llvm/test/Transforms/PGOProfile/memprof_missing_leaf.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
;; matching and we are able to match the next call frame up the inlined
44
;; context.
55

6+
;; Avoid failures on big-endian systems that can't read the profile properly
7+
; REQUIRES: x86_64-linux
68

79
;; # To generate below LLVM IR for use in matching.
810
;; $ clang++ -gmlt -fdebug-info-for-profiling -S memprof_missing_leaf.cc \

llvm/test/tools/llvm-profdata/memprof-yaml-invalid.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
; REQUIRES: x86_64-linux
12
; RUN: split-file %s %t
23
; RUN: not llvm-profdata merge %t/memprof-invalid.yaml -o %t/memprof-invalid.indexed
34

0 commit comments

Comments
 (0)