summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongtao Yu <hoy@fb.com>2021-02-10 14:40:47 -0800
committerTom Stellard <tstellar@redhat.com>2021-02-19 21:21:12 -0800
commit1a5bb1e4d540303554c0e891389f699956e5e03b (patch)
tree767b29396efa4d11e6ea00852cb489896d77a638
parente8e45f52d0a8268fe3ee2a3a2afc80bc10a47280 (diff)
downloadllvm-1a5bb1e4d540303554c0e891389f699956e5e03b.tar.gz
[CSSPGO] Restrict pseudo probe tests to x86_64 only.
-rw-r--r--llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll4
-rw-r--r--llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll1
-rw-r--r--llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll1
3 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll b/llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll
index 609af90db610..9d89cad43aa7 100644
--- a/llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll
+++ b/llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll
@@ -1,5 +1,5 @@
-; PR1075
-; RUN: llc < %s -mcpu=generic -mtriple=x86_64-apple-darwin -pseudo-probe-for-profiling -O3 | FileCheck %s
+; REQUIRES: x86_64-linux
+; RUN: llc < %s -mcpu=generic -mtriple=x86_64-- -pseudo-probe-for-profiling -O3 | FileCheck %s
define float @foo(float %x) #0 {
%tmp1 = fmul float %x, 3.000000e+00
diff --git a/llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll b/llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll
index a1fb25c95936..d94dac4de95d 100644
--- a/llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll
+++ b/llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
; RUN: llc -mtriple=x86_64-- -stop-after=peephole-opt -o - %s | FileCheck %s
define internal i32 @arc_compare() {
diff --git a/llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll b/llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll
index 81f72d3c5871..31b471ea08fd 100644
--- a/llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll
+++ b/llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
; RUN: llc -stop-after=twoaddressinstruction -mtriple=x86_64-- -o - %s | FileCheck %s