[llvm-branch-commits] [llvm] 1a5bb1e - [CSSPGO] Restrict pseudo probe tests to x86_64 only.

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 19 21:28:49 PST 2021


Author: Hongtao Yu
Date: 2021-02-19T21:21:12-08:00
New Revision: 1a5bb1e4d540303554c0e891389f699956e5e03b

URL: https://github.com/llvm/llvm-project/commit/1a5bb1e4d540303554c0e891389f699956e5e03b
DIFF: https://github.com/llvm/llvm-project/commit/1a5bb1e4d540303554c0e891389f699956e5e03b.diff

LOG: [CSSPGO] Restrict pseudo probe tests to x86_64 only.

Added: 
    

Modified: 
    llvm/test/Transforms/SampleProfile/pseudo-probe-instsched.ll
    llvm/test/Transforms/SampleProfile/pseudo-probe-peep.ll
    llvm/test/Transforms/SampleProfile/pseudo-probe-twoaddr.ll

Removed: 
    


################################################################################
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
 
 


        


More information about the llvm-branch-commits mailing list