[test] Remove the last couple uses of -analyze in llvm/test
authorArthur Eubanks <aeubanks@google.com>
Wed, 23 Mar 2022 18:31:12 +0000 (11:31 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 23 Mar 2022 18:31:12 +0000 (11:31 -0700)
llvm/test/Analysis/CostModel/RISCV/masked_ldst.ll
llvm/test/Transforms/SampleProfile/profile-inference-even-count-distribution.ll

index c32cc6d..62e8971 100644 (file)
@@ -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'
index baffbc9..b48bbf4 100644 (file)
@@ -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.