[llvm] d051c56 - [test] Remove the last couple uses of -analyze in llvm/test

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 23 11:32:02 PDT 2022


Author: Arthur Eubanks
Date: 2022-03-23T11:31:12-07:00
New Revision: d051c566cd5925030d36ab4deeede60e37cd104b

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

LOG: [test] Remove the last couple uses of -analyze in llvm/test

Added: 
    

Modified: 
    llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
    llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll b/llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
index c32cc6dd45853..62e897116cf17 100644
--- a/llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
+++ b/llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
-; RUN: opt < %s -cost-model -analyze -mtriple=riscv64 -mattr=+v | FileCheck %s
+; RUN: opt < %s -passes='print<cost-model>' -disable-output -mtriple=riscv64 -mattr=+v 2>&1 | FileCheck %s
 
 define void @fixed() {
 ; CHECK-LABEL: 'fixed'

diff  --git a/llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll b/llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll
index baffbc9656df6..b48bbf4ee4d50 100644
--- a/llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll
+++ b/llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll
@@ -1,5 +1,5 @@
-; RUN: opt < %s -passes=pseudo-probe,sample-profile -sample-profile-use-profi -sample-profile-file=%S/Inputs/profile-inference-even-count-distribution.prof | opt -analyze -branch-prob -enable-new-pm=0 | FileCheck %s
-; RUN: opt < %s -passes=pseudo-probe,sample-profile -sample-profile-use-profi -sample-profile-file=%S/Inputs/profile-inference-even-count-distribution.prof | opt -analyze -block-freq  -enable-new-pm=0 | FileCheck %s --check-prefix=CHECK2
+; RUN: opt < %s -passes=pseudo-probe,sample-profile -sample-profile-use-profi -sample-profile-file=%S/Inputs/profile-inference-even-count-distribution.prof | opt -passes='print<branch-prob>' -disable-output 2>&1 | FileCheck %s
+; RUN: opt < %s -passes=pseudo-probe,sample-profile -sample-profile-use-profi -sample-profile-file=%S/Inputs/profile-inference-even-count-distribution.prof | opt -passes='print<block-freq>' -disable-output 2>&1 | FileCheck %s --check-prefix=CHECK2
 
 ; The test verifies that counts are evenly distributed among branches with
 ; equal weights.


        


More information about the llvm-commits mailing list