[llvm] 18df04c - Run test only on x86_64-linux to fix a build break

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 23:06:39 PST 2022


Author: wlei
Date: 2022-11-09T23:06:15-08:00
New Revision: 18df04c944593e53705f64fd2befa804408ab521

URL: https://github.com/llvm/llvm-project/commit/18df04c944593e53705f64fd2befa804408ab521
DIFF: https://github.com/llvm/llvm-project/commit/18df04c944593e53705f64fd2befa804408ab521.diff

LOG: Run test only on x86_64-linux to fix a build break

Added: 
    

Modified: 
    llvm/test/Transforms/SampleProfile/profile-mismatch.ll
    llvm/test/Transforms/SampleProfile/pseudo-probe-profile-mismatch.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SampleProfile/profile-mismatch.ll b/llvm/test/Transforms/SampleProfile/profile-mismatch.ll
index 413c7120dcf6..8d6d13daae7c 100644
--- a/llvm/test/Transforms/SampleProfile/profile-mismatch.ll
+++ b/llvm/test/Transforms/SampleProfile/profile-mismatch.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/profile-mismatch.prof -report-profile-staleness -persist-profile-staleness -S 2>%t -o %t.ll
 ; RUN: FileCheck %s --input-file %t
 ; RUN: FileCheck %s --input-file %t.ll -check-prefix=CHECK-MD

diff  --git a/llvm/test/Transforms/SampleProfile/pseudo-probe-profile-mismatch.ll b/llvm/test/Transforms/SampleProfile/pseudo-probe-profile-mismatch.ll
index c2c6dfa9c0f2..ad88fa0b4d50 100644
--- a/llvm/test/Transforms/SampleProfile/pseudo-probe-profile-mismatch.ll
+++ b/llvm/test/Transforms/SampleProfile/pseudo-probe-profile-mismatch.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/pseudo-probe-profile-mismatch.prof -report-profile-staleness -persist-profile-staleness -S 2>%t -o %t.ll
 ; RUN: FileCheck %s --input-file %t
 ; RUN: FileCheck %s --input-file %t.ll -check-prefix=CHECK-MD


        


More information about the llvm-commits mailing list