[llvm] f15ed06 - [test][IndVarSimplify] Use -passes syntax in RUN lines. NFC

Bjorn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 13 01:45:59 PDT 2022


Author: Bjorn Pettersson
Date: 2022-10-13T10:44:37+02:00
New Revision: f15ed06a65de2715130ffeba5ed3698a08047d27

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

LOG: [test][IndVarSimplify] Use -passes syntax in RUN lines. NFC

Added: 
    

Modified: 
    llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll
    llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll
    llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll
    llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
    llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
    llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll
    llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll
    llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll
    llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll
    llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
    llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
    llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll
    llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
    llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
    llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll
    llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll
    llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
    llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
    llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll
    llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll
    llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll
    llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
    llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll
    llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll
    llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll
    llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
    llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
    llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
    llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll
    llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll
    llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
    llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll
    llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll
    llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll
    llvm/test/Transforms/IndVarSimplify/2020-12-15-trunc-bug-expensive-range-inference.ll
    llvm/test/Transforms/IndVarSimplify/D108043.ll
    llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll
    llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
    llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
    llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
    llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
    llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
    llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
    llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
    llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
    llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
    llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
    llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
    llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
    llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
    llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll
    llvm/test/Transforms/IndVarSimplify/ada-loops.ll
    llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll
    llvm/test/Transforms/IndVarSimplify/ashr-expansion.ll
    llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
    llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll
    llvm/test/Transforms/IndVarSimplify/checks_against_min_value.ll
    llvm/test/Transforms/IndVarSimplify/const_phi.ll
    llvm/test/Transforms/IndVarSimplify/constant-fold.ll
    llvm/test/Transforms/IndVarSimplify/constant_result.ll
    llvm/test/Transforms/IndVarSimplify/dont-recompute.ll
    llvm/test/Transforms/IndVarSimplify/drop-exact.ll
    llvm/test/Transforms/IndVarSimplify/elim-extend.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-exit.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll
    llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll
    llvm/test/Transforms/IndVarSimplify/exit-count-select.ll
    llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll
    llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
    llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
    llvm/test/Transforms/IndVarSimplify/full_widening.ll
    llvm/test/Transforms/IndVarSimplify/indirectbr.ll
    llvm/test/Transforms/IndVarSimplify/infer-poison-flags.ll
    llvm/test/Transforms/IndVarSimplify/iv-fold.ll
    llvm/test/Transforms/IndVarSimplify/iv-sext.ll
    llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
    llvm/test/Transforms/IndVarSimplify/iv-zext.ll
    llvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll
    llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll
    llvm/test/Transforms/IndVarSimplify/lftr-pr31181.ll
    llvm/test/Transforms/IndVarSimplify/lftr-pr41998.ll
    llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
    llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
    llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
    llvm/test/Transforms/IndVarSimplify/masked-iv.ll
    llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
    llvm/test/Transforms/IndVarSimplify/negative_ranges.ll
    llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
    llvm/test/Transforms/IndVarSimplify/outer_phi.ll
    llvm/test/Transforms/IndVarSimplify/pr18223.ll
    llvm/test/Transforms/IndVarSimplify/pr22222.ll
    llvm/test/Transforms/IndVarSimplify/pr24952.ll
    llvm/test/Transforms/IndVarSimplify/pr25578.ll
    llvm/test/Transforms/IndVarSimplify/pr28705.ll
    llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
    llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
    llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
    llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
    llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll
    llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
    llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
    llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll
    llvm/test/Transforms/IndVarSimplify/sentinel.ll
    llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll
    llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
    llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll
    llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
    llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
    llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll
    llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
    llvm/test/Transforms/IndVarSimplify/trivial-checks.ll
    llvm/test/Transforms/IndVarSimplify/trivial-guard.ll
    llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll
    llvm/test/Transforms/IndVarSimplify/udiv.ll
    llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll
    llvm/test/Transforms/IndVarSimplify/zext-nuw.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll b/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll
index 92911ae078c39..586ca944aa092 100644
--- a/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll
@@ -1,7 +1,7 @@
 ; Induction variable pass is doing bad things with pointer induction vars, 
 ; trying to do arithmetic on them directly.
 ;
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 ;
 define void @test(i32 %A, i32 %S, i8* %S.upgrd.1) {
 ; <label>:0

diff  --git a/llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll b/llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll
index 38fa112bdb5ee..3265a2453cdda 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll
@@ -1,7 +1,7 @@
 ; This is a test case for the expression analysis code, not really indvars.
 ; It was assuming any constant of int type was a ConstantInteger.
 ;
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 
 @X = global i32 7               ; <i32*> [#uses=1]
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll b/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll
index e3de75e36fd85..1fe1074bee358 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -indvars < %s | FileCheck %s
+; RUN: opt -S -passes=indvars < %s | FileCheck %s
 
 ; The indvar simplification code should ensure that the first PHI in the block 
 ; is the canonical one!

diff  --git a/llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll b/llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
index 75363314750b9..69ccb5ce79541 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @test() {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll b/llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
index 662828c749d66..b0e99bfc1a5c7 100644
--- a/llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output 
+; RUN: opt < %s -passes=indvars -disable-output 
 define void @_ZN17CoinFactorization7cleanupEv() {
 entry:
         br i1 false, label %loopexit.14, label %cond_continue.3

diff  --git a/llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll b/llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll
index c49819e27af45..2da27486c6c3b 100644
--- a/llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @test() {
         br label %endif.0.i

diff  --git a/llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll b/llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll
index 06eec7dfe28c8..8d5862529e9c7 100644
--- a/llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 ; ModuleID = '2004-04-05-InvokeCastCrash.ll'
 	%struct.__false_type = type { i8 }
 	%"struct.__gnu_cxx::_Hashtable_node<const llvm::Constant*>" = type { %"struct.__gnu_cxx::_Hashtable_node<const llvm::Constant*>"*, %"struct.llvm::Constant"* }

diff  --git a/llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll b/llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll
index ec1218bb86dd0..207f15bf872e1 100644
--- a/llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @.outPlank_21() {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll b/llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll
index 926b82fdf147a..98dd0b87e4047 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @_ZN5ArrayISt7complexIdEEC2ERK10dim_vector() personality i32 (...)* @__gxx_personality_v0 {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll b/llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
index a0dac7a29cc81..111fbafc0ae3a 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 declare void @q_atomic_increment()
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll b/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
index 0c48a630407aa..9b098ba1720ed 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define i32 @main() {
 ; CHECK-LABEL: @main(

diff  --git a/llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll b/llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll
index 0862f1131b5a0..1fce0b7156889 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @main() {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll b/llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
index 7ef351d4a456f..785493cd14e8c 100644
--- a/llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 @fixtab = external global [29 x [29 x [2 x i32]]]               ; <[29 x [29 x [2 x i32]]]*> [#uses=1]
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll b/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
index c5e95ba19fb33..78cc2e338f083 100644
--- a/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll
@@ -1,5 +1,5 @@
 ; PR726
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Make sure to compute the right exit value based on negative strides.
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll b/llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll
index 2d40f88d0d0b7..c32bc2ec32fcc 100644
--- a/llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 
 define void @get_block() {
 endif.0:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll b/llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll
index 787c9b07bdcd0..3246310fc7462 100644
--- a/llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 ; ModuleID = '2006-09-20-LFTR-Crash.ll'
 	%struct.p7prior_s = type { i32, i32, [200 x float], [200 x [7 x float]], i32, [200 x float], [200 x [20 x float]], i32, [200 x float], [200 x [20 x float]] }
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll b/llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
index 80c9ebf2f0177..1ad0f8da0581a 100644
--- a/llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
 	%struct.vorbis_dsp_state = type { i32, %struct.vorbis_info*, float**, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }

diff  --git a/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll b/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
index e6986ca9fe8d5..d5c1fdb2b95e7 100644
--- a/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll
@@ -1,5 +1,5 @@
 ; PR1015
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"

diff  --git a/llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll b/llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll
index fc7d6335910db..a5f4d3cbf3f44 100644
--- a/llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 ; PR1487
 
 	%struct.AVClass = type { i8*, i8* (i8*)*, %struct.AVOption* }

diff  --git a/llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll b/llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll
index cad4eb155ce93..c7961047f81b4 100644
--- a/llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 ; PR1814
 target datalayout = "e-p:32:32-f64:32:64-i64:32:64-f80:32:32"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll b/llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll
index 77235d2888e5c..a50d3467a0b14 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -disable-output
+; RUN: opt < %s -passes=indvars -disable-output
 ; PR2434
 
 define fastcc void @regcppop() nounwind  {

diff  --git a/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll b/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
index a5669c530b0a0..49e4cbddde96f 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; ModuleID = '<stdin>'
 
 ; Provide legal integer types.

diff  --git a/llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll b/llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll
index 1248154c15511..e6c5d38b24746 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 ; PR2857
 
 @foo = external global i32		; <i32*> [#uses=1]

diff  --git a/llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll b/llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll
index 39b97af86fa5c..b734a47f874d0 100644
--- a/llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 
 define void @t() nounwind {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll
index 24074bf7271d6..2c67be54671a2 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 ; rdar://6817574
 
 define i32 @t1() nounwind ssp {

diff  --git a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
index 44c43a3a04351..eb9ba7f3ea51a 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR4086
 
 ; Provide legal integer types.

diff  --git a/llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll b/llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
index d211e3b824b2f..222a08171aa86 100644
--- a/llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars
+; RUN: opt < %s -passes=indvars
 ; PR4258
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
 target triple = "i386-pc-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll b/llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
index fb465a56def82..6b67308d23188 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; Test WidenIV::GetExtendedOperandRecurrence.
 ; %add, %sub and %mul should be extended to i64 because it is nsw, even though its
 ; sext cannot be hoisted outside the loop.

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll b/llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll
index 6a01012fe22ff..2a85476194be3 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR10946: Vector IVs are not SCEVable.
 ; CHECK-NOT: phi
 define void @test() nounwind {

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll b/llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll
index f0765e7d4c696..bf2dc7ecc9ddb 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; Test indvars' ability to hoist new sext created by WidenIV.
 ; From ffbench.
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll b/llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
index ed2b8743a79d2..85facc232fe8c 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; rdar://10359193: assert "IndVar type must match IVInit type"
 
 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:32:64-v128:32:128-a0:0:32-n32-S32"

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll b/llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll
index 1780a69f1e2b4..1ada3584ab6fc 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S "-data-layout=e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" | FileCheck -check-prefix=PTR64 %s
-; RUN: opt < %s -indvars -S "-data-layout=e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32" | FileCheck -check-prefix=PTR32 %s
+; RUN: opt < %s -passes=indvars -S "-data-layout=e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" | FileCheck -check-prefix=PTR64 %s
+; RUN: opt < %s -passes=indvars -S "-data-layout=e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32" | FileCheck -check-prefix=PTR32 %s
 ;
 ; PR11279: Assertion !IVLimit->getType()->isPointerTy()
 ;

diff  --git a/llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll b/llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll
index 8f0cb80a10701..1c98f312fccce 100644
--- a/llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR11350: Check that SimplifyIndvar handles a cycle of useless self-phis.
 
 ; CHECK-LABEL: @test(

diff  --git a/llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll b/llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll
index 5f6ff36cf574d..2c65bbeadd133 100644
--- a/llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -indvars < %s | FileCheck %s
+; RUN: opt -S -passes=indvars < %s | FileCheck %s
 
 ; PR12627
 define void @test1(i32 %x) nounwind uwtable ssp {

diff  --git a/llvm/test/Transforms/IndVarSimplify/2020-12-15-trunc-bug-expensive-range-inference.ll b/llvm/test/Transforms/IndVarSimplify/2020-12-15-trunc-bug-expensive-range-inference.ll
index a1ad4d07fab2d..29e5c8aedfff1 100644
--- a/llvm/test/Transforms/IndVarSimplify/2020-12-15-trunc-bug-expensive-range-inference.ll
+++ b/llvm/test/Transforms/IndVarSimplify/2020-12-15-trunc-bug-expensive-range-inference.ll
@@ -1,4 +1,3 @@
-; RUN: opt < %s -indvars -S -scalar-evolution-use-expensive-range-sharpening | FileCheck %s
 ; RUN: opt < %s -passes=indvars -S -scalar-evolution-use-expensive-range-sharpening | FileCheck %s
 
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128-ni:1-p2:32:8:8:32-ni:2"

diff  --git a/llvm/test/Transforms/IndVarSimplify/D108043.ll b/llvm/test/Transforms/IndVarSimplify/D108043.ll
index 796342c24ba5d..452c391251fd4 100644
--- a/llvm/test/Transforms/IndVarSimplify/D108043.ll
+++ b/llvm/test/Transforms/IndVarSimplify/D108043.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S %s | FileCheck %s
+; RUN: opt -passes=indvars -S %s | FileCheck %s
 
 @g_2168 = external global [4 x [6 x i32]], align 16
 @g_1150 = external global i32*, align 8

diff  --git a/llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll b/llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll
index ae2cb7ffee8f1..9ba2ed0197979 100644
--- a/llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll
+++ b/llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target triple = "nvptx64-unknown-unknown"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll b/llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
index 92260882144f8..3aff3e1046d75 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/2009-04-14-shorten_iv_vars.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; ModuleID = '<stdin>'
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n32:64"
 target triple = "x86_64-apple-darwin9.6"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll b/llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
index 65b2cf6845806..76b5438b4d3c9 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/2011-11-15-multiexit.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ;
 ; Prior to the fix for PR11375, indvars would replace %firstIV with a
 ; loop-invariant gep computed in the preheader. This was incorrect

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll b/llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
index 589caa765ada4..30d560fcd1e5e 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/deterministic-scev-verify.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; Check that IndVarSimplify's result is not influenced by stray calls to
 ; ScalarEvolution in debug builds. However, -verify-indvars may still do

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll b/llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
index a6a22c93bc4a5..d8f2d38e56978 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/eliminate-trunc.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S -indvars-predicate-loops=0 < %s | FileCheck %s
+; RUN: opt -passes=indvars -S -indvars-predicate-loops=0 < %s | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll b/llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
index 92722ca3ce0dd..39f28dd63166e 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/huge_muls.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
index 1e0c0ddef859b..a6affb302d97c 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop-by-latch-cond.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:1"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
index b849c4e3423e3..e5e6a0da393ca 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/inner-loop.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; This is regression test for the bug in ScalarEvolution::isKnownPredicate.
 ; It does not check whether SCEV is available at loop entry before invoking

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll b/llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
index d0f7081c41930..89de7ac152de3 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/iv-widen.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; RUN: opt < %s -S -passes='lcssa,loop-simplify,require<targetir>,require<scalar-evolution>,require<domtree>,loop(indvars)' | FileCheck %s
 
 ; Provide legal integer types.

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll b/llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
index 3ac9106046156..cbd4e1958f211 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/loop_evaluate10.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ;
 ; This loop has multiple exits, and the value of %b1 depends on which
 ; exit is taken. Indvars should correctly compute the exit values.

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
index dc39a78c7eb9a..7b3f4d846545e 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/pr25047.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx10.11.0"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
index 9f6df7051ea8b..e0ca543d1c624 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/pr25360.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 
 ; Ensure that does not crash

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll b/llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
index 75dd912590473..b2ef606de1cb4 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/pr27133.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 target datalayout = "e-m:w-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-pc-windows-msvc18.0.0"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll b/llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
index d3d6d1ed4fadf..7656d102de07a 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/replace-iv-with-loop-invariant.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll b/llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
index 0eced1aacb752..61f7eaca5043e 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/scev-phi-debug-info.ll
@@ -1,4 +1,4 @@
-; RUN: opt %s -indvars -S -o - | FileCheck %s
+; RUN: opt %s -passes=indvars -S -o - | FileCheck %s
 source_filename = "/Data/llvm/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll"
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll b/llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
index 4ee231f932cca..126fe0c97ed52 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/uglygep.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 ; rdar://8197217
 
 ; Indvars should be able to emit a clean GEP here, not an uglygep.

diff  --git a/llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll b/llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll
index 9365d6816f916..4c507d31ae48c 100644
--- a/llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll
+++ b/llvm/test/Transforms/IndVarSimplify/X86/widen-nsw.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
 target triple = "x86_64-apple-macosx"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/ada-loops.ll b/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
index 4cc7cb65813a6..ded30cb66e370 100644
--- a/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ada-loops.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ;
 ; PR1301
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll b/llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll
index 640edb528789e..7b8ac40b710a8 100644
--- a/llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll
+++ b/llvm/test/Transforms/IndVarSimplify/addrec_no_exec_on_every_iteration.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"

diff  --git a/llvm/test/Transforms/IndVarSimplify/ashr-expansion.ll b/llvm/test/Transforms/IndVarSimplify/ashr-expansion.ll
index be5371ef3bc75..fa1ab67794989 100644
--- a/llvm/test/Transforms/IndVarSimplify/ashr-expansion.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ashr-expansion.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S %s | FileCheck %s
+; RUN: opt -passes=indvars -S %s | FileCheck %s
 
 target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll b/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
index 19065dba1bfce..7ae69da1e4668 100644
--- a/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
+++ b/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Indvars should be able to eliminate all of the sign extensions
 ; inside the loop.

diff  --git a/llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll b/llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll
index bc846c49a8a4b..fda2c55ab8481 100644
--- a/llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll
+++ b/llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; RUN: opt -lcssa -loop-simplify -S < %s | opt -S -passes='require<targetir>,require<scalar-evolution>,require<domtree>,loop(indvars)'
 
 ;; --- signed ---

diff  --git a/llvm/test/Transforms/IndVarSimplify/checks_against_min_value.ll b/llvm/test/Transforms/IndVarSimplify/checks_against_min_value.ll
index 2b25daf9573be..6f41b04350d0e 100644
--- a/llvm/test/Transforms/IndVarSimplify/checks_against_min_value.ll
+++ b/llvm/test/Transforms/IndVarSimplify/checks_against_min_value.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
 ; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define void @test_signed(i32 %start) {

diff  --git a/llvm/test/Transforms/IndVarSimplify/const_phi.ll b/llvm/test/Transforms/IndVarSimplify/const_phi.ll
index 33dc5514d3cc2..c13e743d9e105 100644
--- a/llvm/test/Transforms/IndVarSimplify/const_phi.ll
+++ b/llvm/test/Transforms/IndVarSimplify/const_phi.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/constant-fold.ll b/llvm/test/Transforms/IndVarSimplify/constant-fold.ll
index ef42ac7dc7809..995e6589fd5d6 100644
--- a/llvm/test/Transforms/IndVarSimplify/constant-fold.ll
+++ b/llvm/test/Transforms/IndVarSimplify/constant-fold.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 define void @test0(i32* %x) {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/constant_result.ll b/llvm/test/Transforms/IndVarSimplify/constant_result.ll
index 749c4af07aea7..6eae0cd806a41 100644
--- a/llvm/test/Transforms/IndVarSimplify/constant_result.ll
+++ b/llvm/test/Transforms/IndVarSimplify/constant_result.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 @Y = global [400 x i16] zeroinitializer, align 1
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/dont-recompute.ll b/llvm/test/Transforms/IndVarSimplify/dont-recompute.ll
index 91abc06529a13..bf97fe1afd6e7 100644
--- a/llvm/test/Transforms/IndVarSimplify/dont-recompute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/dont-recompute.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; This tests that the IV is recomputed outside of the loop even when it is known
 ; to be computed by the loop and used in the loop any way, if it is cheap to do

diff  --git a/llvm/test/Transforms/IndVarSimplify/drop-exact.ll b/llvm/test/Transforms/IndVarSimplify/drop-exact.ll
index ab5b2b5a859ab..70afda9ed4b28 100644
--- a/llvm/test/Transforms/IndVarSimplify/drop-exact.ll
+++ b/llvm/test/Transforms/IndVarSimplify/drop-exact.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:1"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/elim-extend.ll b/llvm/test/Transforms/IndVarSimplify/elim-extend.ll
index 5960a7d98d768..56f8d16c46cf6 100644
--- a/llvm/test/Transforms/IndVarSimplify/elim-extend.ll
+++ b/llvm/test/Transforms/IndVarSimplify/elim-extend.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
index e283c2d7f2fcd..d3fe3b8ad4951 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-backedge.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: -p
-; RUN: opt < %s -indvars -S | FileCheck %s
 ; RUN: opt < %s -passes=indvars -S | FileCheck %s
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll
index 7bf8915765cd5..1e99c387a6877 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
index 6eefed13bccb1..c96048eb27cc6 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-exit-no-dl.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; Check the case where one exit has a pointer EC, and the other doesn't.
 ; Note that this test case is really really fragile.  Removing any

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-exit.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-exit.ll
index e574c2f84ea33..b24650830778f 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-exit.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-exit.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 define void @ult(i64 %n, i64 %m) {
 ; CHECK-LABEL: @ult(

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll
index c3aea2621eb96..b91c1aeaa7128 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-overflow-modified.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S -o - | FileCheck %s
+; RUN: opt < %s -passes=indvars -S -o - | FileCheck %s
 
 ; When eliminating the overflow intrinsic the indvars pass would incorrectly
 ; return a false Modified status. This was caught by the pass return

diff  --git a/llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll b/llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll
index 8c1ea81263f35..7508d0cf41002 100644
--- a/llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll
+++ b/llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/exit-count-select.ll b/llvm/test/Transforms/IndVarSimplify/exit-count-select.ll
index e42e08a82d55f..21806c7f2cdc3 100644
--- a/llvm/test/Transforms/IndVarSimplify/exit-count-select.ll
+++ b/llvm/test/Transforms/IndVarSimplify/exit-count-select.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define i32 @logical_and_2ops(i32 %n, i32 %m) {
 ; CHECK-LABEL: @logical_and_2ops(

diff  --git a/llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll b/llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll
index 2efb9071966b9..a3aa80f18a495 100644
--- a/llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll
+++ b/llvm/test/Transforms/IndVarSimplify/finite-exit-comparisons.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s -indvars-predicate-loops=0 | FileCheck %s
+; RUN: opt -passes=indvars -S < %s -indvars-predicate-loops=0 | FileCheck %s
 
 ; A collection of tests which domonstrate cases where we can use properties
 ; of the loop (i.e. single exit, finite, mustprogress) to optimize conditions

diff  --git a/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll b/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
index 008dc91bf460d..26393e796320a 100644
--- a/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define void @test1() nounwind {
 ; CHECK-LABEL: @test1(

diff  --git a/llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll b/llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
index 8b4d2cfe5fe20..a5b472ed72adf 100644
--- a/llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/floating-point-small-iv.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 @array = dso_local global [16777219 x i32] zeroinitializer, align 4
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/full_widening.ll b/llvm/test/Transforms/IndVarSimplify/full_widening.ll
index 4a4e47337c520..92b9b850fb22c 100644
--- a/llvm/test/Transforms/IndVarSimplify/full_widening.ll
+++ b/llvm/test/Transforms/IndVarSimplify/full_widening.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/indirectbr.ll b/llvm/test/Transforms/IndVarSimplify/indirectbr.ll
index d5801690d5e0e..de9ed91a54fd1 100644
--- a/llvm/test/Transforms/IndVarSimplify/indirectbr.ll
+++ b/llvm/test/Transforms/IndVarSimplify/indirectbr.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S -disable-output
+; RUN: opt < %s -passes=indvars -S -disable-output
 
 ; PR5758
 define zeroext i1 @foo() nounwind {

diff  --git a/llvm/test/Transforms/IndVarSimplify/infer-poison-flags.ll b/llvm/test/Transforms/IndVarSimplify/infer-poison-flags.ll
index fa042c86fc10e..6d1334504492e 100644
--- a/llvm/test/Transforms/IndVarSimplify/infer-poison-flags.ll
+++ b/llvm/test/Transforms/IndVarSimplify/infer-poison-flags.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 @A = external global i32
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/iv-fold.ll b/llvm/test/Transforms/IndVarSimplify/iv-fold.ll
index af8a33b30ea9b..1be4d36d32813 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-fold.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-fold.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/iv-sext.ll b/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
index 89e21e1b2690b..1edf95c2317c8 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-sext.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Indvars should be able to promote the hiPart induction variable in the
 ; inner loop to i64.

diff  --git a/llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll b/llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
index 5e25f8e165ecf..6145a27460dca 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-p:64:64:64-n8:16:32:64-S128"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/iv-zext.ll b/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
index 629a85efe8e15..650d730c1a077 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-zext.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; CHECK-NOT: and
 ; CHECK-NOT: zext
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll b/llvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll
index c9894d6e340ae..45151b4bf36bc 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-multi-exit.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; This is a collection of tests specifically for LFTR of multiple exit loops.
 ; The actual LFTR performed is trivial so as to focus on the loop structure
 ; aspects.

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll b/llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll
index 1bb13832c574c..080cecb6c07e8 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-pr20680.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S -indvars-predicate-loops=0 | FileCheck %s
+; RUN: opt < %s -passes=indvars -S -indvars-predicate-loops=0 | FileCheck %s
 
 ; Provide legal integer types.
 target datalayout = "n8:16:32:64"

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-pr31181.ll b/llvm/test/Transforms/IndVarSimplify/lftr-pr31181.ll
index a428cfb22cde5..470573580111d 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-pr31181.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-pr31181.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; PR31181: It may be necessary to drop nuw/nsw flags when moving from a
 ; pre-increment comparison to a post-increment comparison.

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-pr41998.ll b/llvm/test/Transforms/IndVarSimplify/lftr-pr41998.ll
index 471254ac42cf6..2974e7197b7a6 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-pr41998.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-pr41998.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll b/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
index 8d6d88e934022..f537cde99a157 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Indvars should be able to compute the exit value of this loop
 ; without any additional arithmetic. The only add needed should

diff  --git a/llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll b/llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll
index 5117a8044da07..b5e7cf61e5db1 100644
--- a/llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll
+++ b/llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S -indvars-predicate-loops=0 | FileCheck %s
+; RUN: opt < %s -passes=indvars -S -indvars-predicate-loops=0 | FileCheck %s
 
 ; Make sure that indvars can perform LFTR without a canonical IV.
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
index fef1bd617ed42..56bf6cb26e7a5 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; This loop has backedge-taken-count zero. Indvars shouldn't expand any
 ; instructions to compute a trip count.

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
index 824268b278752..0f0356789aa35 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR4477
 ; Indvars should compute the exit values in loop.
 ;

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
index 1ce7b55e0f26a..3c1de389635c8 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR1179
 
 define i32 @foo() {

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
index 0bdae114c9c23..97187a8dc5cfa 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 ; PR1179
 
 define i32 @test4() {

diff  --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
index 0a601b436ebe6..09b5f394af496 100644
--- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
+++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
 target triple = "i686-pc-linux-gnu"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/masked-iv.ll b/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
index c045469e71bbb..87064873c4950 100644
--- a/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/masked-iv.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Indvars should do the IV arithmetic in the canonical IV type (i64),
 ; and only use one truncation.

diff  --git a/llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll b/llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
index 475409246f3a4..7e7731d3425dd 100644
--- a/llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
+++ b/llvm/test/Transforms/IndVarSimplify/monotonic_checks.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
 ; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; Monotonic decrementing iv. we should be able to prove that %iv.next <s len

diff  --git a/llvm/test/Transforms/IndVarSimplify/negative_ranges.ll b/llvm/test/Transforms/IndVarSimplify/negative_ranges.ll
index 67fd05465d3f7..6a44180078489 100644
--- a/llvm/test/Transforms/IndVarSimplify/negative_ranges.ll
+++ b/llvm/test/Transforms/IndVarSimplify/negative_ranges.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
 ; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 declare i1 @cond()

diff  --git a/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll b/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
index 01d0fd35a3e64..c2d77d8cb2f2f 100644
--- a/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
+++ b/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S -indvars-predicate-loops=0  | FileCheck %s
+; RUN: opt < %s -passes=indvars -S -indvars-predicate-loops=0  | FileCheck %s
 ;
 ; Make sure that indvars isn't inserting canonical IVs.
 ; This is kinda hard to do until linear function test replacement is removed.

diff  --git a/llvm/test/Transforms/IndVarSimplify/outer_phi.ll b/llvm/test/Transforms/IndVarSimplify/outer_phi.ll
index 19ea0a839056c..79ecf1665b8c7 100644
--- a/llvm/test/Transforms/IndVarSimplify/outer_phi.ll
+++ b/llvm/test/Transforms/IndVarSimplify/outer_phi.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
 ; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 declare i1 @cond()

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr18223.ll b/llvm/test/Transforms/IndVarSimplify/pr18223.ll
index da620c8062198..f70757a6057b1 100644
--- a/llvm/test/Transforms/IndVarSimplify/pr18223.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pr18223.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; indvars should transform the phi node pair from the for-loop
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr22222.ll b/llvm/test/Transforms/IndVarSimplify/pr22222.ll
index 9ccb881d966e2..d4dac2fef3070 100644
--- a/llvm/test/Transforms/IndVarSimplify/pr22222.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pr22222.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 @b = common global i32 0, align 4
 @c = common global i32 0, align 4

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr24952.ll b/llvm/test/Transforms/IndVarSimplify/pr24952.ll
index c430cae98f58e..b09bf19a2520c 100644
--- a/llvm/test/Transforms/IndVarSimplify/pr24952.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pr24952.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 declare void @use(i1)
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr25578.ll b/llvm/test/Transforms/IndVarSimplify/pr25578.ll
index b9d374a4c772f..d8adc178474c0 100644
--- a/llvm/test/Transforms/IndVarSimplify/pr25578.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pr25578.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
 
 declare void @use(i64 %x)

diff  --git a/llvm/test/Transforms/IndVarSimplify/pr28705.ll b/llvm/test/Transforms/IndVarSimplify/pr28705.ll
index a6fed805dc65b..8bf90eae02b52 100644
--- a/llvm/test/Transforms/IndVarSimplify/pr28705.ll
+++ b/llvm/test/Transforms/IndVarSimplify/pr28705.ll
@@ -1,6 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
 ; PR28705
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Check IndVarSimplify doesn't replace external use of the induction var
 ; "%inc.i.i" with "%.sroa.speculated + 1" because it is not profitable.

diff  --git a/llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll b/llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
index ffe4db9435488..d8083891dc510 100644
--- a/llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
+++ b/llvm/test/Transforms/IndVarSimplify/predicated_ranges.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
 ; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; Check that we are able to remove the range check basing on the following facts:

diff  --git a/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll b/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
index c8d34acb24ae8..7d1209d4cbb1d 100644
--- a/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
+++ b/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Indvars should insert a 64-bit induction variable to eliminate the
 ; sext for the addressing, however it shouldn't eliminate the sext

diff  --git a/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll b/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
index 62b9723e2cfa0..9dc9d7226b2d1 100644
--- a/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
+++ b/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Provide legal integer types.
 target datalayout = "n8:16:32:64"

diff  --git a/llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll b/llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
index 26b72c22dcc92..4692a542053c9 100644
--- a/llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
+++ b/llvm/test/Transforms/IndVarSimplify/replace-loop-exit-folds.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S -indvars-predicate-loops=0 < %s | FileCheck %s
+; RUN: opt -passes=indvars -S -indvars-predicate-loops=0 < %s | FileCheck %s
 
 target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll b/llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll
index af25b20bec37b..9a97929328bc3 100644
--- a/llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define void @test0(i32* %a) {
 ; CHECK-LABEL: @test0(

diff  --git a/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll b/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
index ec1ccffbc5c88..232f82e0a1dc9 100644
--- a/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
+++ b/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define void @test0(i32* %a) {
 ; CHECK-LABEL: @test0(

diff  --git a/llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll b/llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
index 21eb9892f9c95..e6465647a523d 100644
--- a/llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
+++ b/llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-values-phi.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S %s -o - | FileCheck %s
+; RUN: opt -passes=indvars -S %s -o - | FileCheck %s
 
 ; When bailing out in rewriteLoopExitValues() you would be left with a PHI node
 ; that was not deleted, and the IndVar pass would return an incorrect modified

diff  --git a/llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll b/llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll
index 86b1648e5719b..9c8f976be8336 100644
--- a/llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll
+++ b/llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 define i32 @fn() {
 entry:

diff  --git a/llvm/test/Transforms/IndVarSimplify/sentinel.ll b/llvm/test/Transforms/IndVarSimplify/sentinel.ll
index 1551c8237cfe1..ce01bdfed9aa4 100644
--- a/llvm/test/Transforms/IndVarSimplify/sentinel.ll
+++ b/llvm/test/Transforms/IndVarSimplify/sentinel.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128-ni:1-p2:32:8:8:32-ni:2"
 target triple = "x86_64-unknown-linux-gnu"

diff  --git a/llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll b/llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll
index f35310708ce03..360b08eb4afcd 100644
--- a/llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll
+++ b/llvm/test/Transforms/IndVarSimplify/shared-exit-between-nested-loop.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 @__const.e.f = private unnamed_addr constant <{ <{ [2 x i32], [2 x i32], [8 x [2 x i32]] }>, [10 x [2 x i32]] }> <{ <{ [2 x i32], [2 x i32], [8 x [2 x i32]] }> <{ [2 x i32] [i32 4, i32 8], [2 x i32] [i32 3, i32 10], [8 x [2 x i32]] zeroinitializer }>, [10 x [2 x i32]] [[2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] [i32 1, i32 5], [2 x i32] [i32 2080555007, i32 0], [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] zeroinitializer, [2 x i32] zeroinitializer] }>, align 4
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll b/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
index f660ea5bc9d96..391faaebf3875 100644
--- a/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
+++ b/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; Provide legal integer types.
 target datalayout = "e-p:32:32:32-n8:16:32:64"

diff  --git a/llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll b/llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll
index 6ca5f43bb7d71..e462cb329880f 100644
--- a/llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll
+++ b/llvm/test/Transforms/IndVarSimplify/simplify-pointer-arithmetic.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-attributes
-; RUN: opt -indvars -S %s | FileCheck %s
+; RUN: opt -passes=indvars -S %s | FileCheck %s
 
 ; Test cases inspired by PR48965.
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
index 38c2d3140de6e..f0ef7a11e7cda 100644
--- a/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
+++ b/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
 target triple = "i386-apple-darwin10.0"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll b/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
index d6e049507604a..d2478be5a8fcc 100644
--- a/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
+++ b/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 declare i1 @b()
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll b/llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll
index 2b7cef719bd06..36d46d4efe6f2 100644
--- a/llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll
+++ b/llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 define i32 @test.signed.add.0(i32* %array, i32 %length, i32 %init) {
 ; CHECK-LABEL: @test.signed.add.0(

diff  --git a/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll b/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
index 966d152cda696..523ed2390f61f 100644
--- a/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
+++ b/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll
@@ -1,4 +1,4 @@
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 ; These tests ensure that we can compute the trip count of various forms of
 ; loops.  If the trip count of the loop is computable, then we will know what

diff  --git a/llvm/test/Transforms/IndVarSimplify/trivial-checks.ll b/llvm/test/Transforms/IndVarSimplify/trivial-checks.ll
index a6fe59a6b2230..415e49768c827 100644
--- a/llvm/test/Transforms/IndVarSimplify/trivial-checks.ll
+++ b/llvm/test/Transforms/IndVarSimplify/trivial-checks.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
 ; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 ; FIXME: In all cases, x is from [0; 1000) and we cannot prove that x + 1 > x.

diff  --git a/llvm/test/Transforms/IndVarSimplify/trivial-guard.ll b/llvm/test/Transforms/IndVarSimplify/trivial-guard.ll
index e7152d5b03f02..c1c9a90d9831d 100644
--- a/llvm/test/Transforms/IndVarSimplify/trivial-guard.ll
+++ b/llvm/test/Transforms/IndVarSimplify/trivial-guard.ll
@@ -1,5 +1,4 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S < %s | FileCheck %s
 ; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 declare i1 @cond()

diff  --git a/llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll b/llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll
index ef38f5d6a9166..fbb8b09d5cafc 100644
--- a/llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll
+++ b/llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 @b = common global i32 0, align 4
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/udiv.ll b/llvm/test/Transforms/IndVarSimplify/udiv.ll
index b3f2c2a6a667d..f40a28b62d01b 100644
--- a/llvm/test/Transforms/IndVarSimplify/udiv.ll
+++ b/llvm/test/Transforms/IndVarSimplify/udiv.ll
@@ -1,4 +1,4 @@
-; RUN: opt -indvars -S < %s | FileCheck %s
+; RUN: opt -passes=indvars -S < %s | FileCheck %s
 
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll b/llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll
index 03b0e2649b285..f31bc4290fd33 100644
--- a/llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll
+++ b/llvm/test/Transforms/IndVarSimplify/widen-i32-i8ptr.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt < %s -passes=indvars -S | FileCheck %s
 
 target datalayout = "e-m:e-i64:64-n32:64"
 

diff  --git a/llvm/test/Transforms/IndVarSimplify/zext-nuw.ll b/llvm/test/Transforms/IndVarSimplify/zext-nuw.ll
index 5bfbb45df4413..a0b7a7fa57723 100644
--- a/llvm/test/Transforms/IndVarSimplify/zext-nuw.ll
+++ b/llvm/test/Transforms/IndVarSimplify/zext-nuw.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -indvars -S %s | FileCheck %s
+; RUN: opt -passes=indvars -S %s | FileCheck %s
 
 %struct.A = type { i8 }
 


        


More information about the llvm-commits mailing list