diff --git a/llvm/test/Analysis/BasicAA/dereferenceable.ll b/llvm/test/Analysis/BasicAA/dereferenceable.ll index 5009c1e3deb3..fcceb50b2c58 100644 --- a/llvm/test/Analysis/BasicAA/dereferenceable.ll +++ b/llvm/test/Analysis/BasicAA/dereferenceable.ll @@ -1,4 +1,4 @@ -; RUN: opt -basic-aa -print-all-alias-modref-info -aa-eval -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -basic-aa -print-all-alias-modref-info -aa-eval < %s 2>&1 | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" diff --git a/llvm/test/Analysis/IVUsers/deep_recursion_in_scev.ll b/llvm/test/Analysis/IVUsers/deep_recursion_in_scev.ll index 3f47516eecf2..c25294b0a7ea 100644 --- a/llvm/test/Analysis/IVUsers/deep_recursion_in_scev.ll +++ b/llvm/test/Analysis/IVUsers/deep_recursion_in_scev.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -analyze -iv-users +; RUN: opt < %s -iv-users ; This is a regression test against very slow execution... ; In bad case it should fail by timeout. target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128-ni:1" diff --git a/llvm/test/Other/2002-01-31-CallGraph.ll b/llvm/test/Other/2002-01-31-CallGraph.ll index d4819357ac67..52d88688987d 100644 --- a/llvm/test/Other/2002-01-31-CallGraph.ll +++ b/llvm/test/Other/2002-01-31-CallGraph.ll @@ -1,6 +1,7 @@ ; Call graph construction crash: Not handling indirect calls right ; -; RUN: opt < %s -analyze -print-callgraph > /dev/null 2>&1 +; RUN: opt < %s -analyze -print-callgraph -enable-new-pm=0 > /dev/null 2>&1 +; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1 ; %FunTy = type i32 (i32) diff --git a/llvm/test/Other/2007-06-05-PassID.ll b/llvm/test/Other/2007-06-05-PassID.ll index a219fa740ff4..b166f0575d5c 100644 --- a/llvm/test/Other/2007-06-05-PassID.ll +++ b/llvm/test/Other/2007-06-05-PassID.ll @@ -1,13 +1,13 @@ -;RUN: opt < %s -analyze -dot-cfg-only 2>/dev/null +;RUN: opt < %s -analyze -dot-cfg-only -enable-new-pm=0 2>/dev/null ;RUN: opt < %s -passes=dot-cfg-only 2>/dev/null ;RUN: opt < %s -analyze -dot-cfg-only \ -;RUN: -cfg-heat-colors=true -cfg-weights=true 2>/dev/null +;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null ;RUN: opt < %s -analyze -dot-cfg-only \ -;RUN: -cfg-heat-colors=false -cfg-weights=false 2>/dev/null +;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null ;RUN: opt < %s -analyze -dot-cfg \ -;RUN: -cfg-heat-colors=true -cfg-weights=true 2>/dev/null +;RUN: -cfg-heat-colors=true -cfg-weights=true -enable-new-pm=0 2>/dev/null ;RUN: opt < %s -analyze -dot-cfg \ -;RUN: -cfg-heat-colors=false -cfg-weights=false 2>/dev/null +;RUN: -cfg-heat-colors=false -cfg-weights=false -enable-new-pm=0 2>/dev/null ;PR 1497 define void @foo() { diff --git a/llvm/test/Other/2007-06-28-PassManager.ll b/llvm/test/Other/2007-06-28-PassManager.ll index 0ed275948dba..c6a69a210bc2 100644 --- a/llvm/test/Other/2007-06-28-PassManager.ll +++ b/llvm/test/Other/2007-06-28-PassManager.ll @@ -1,6 +1,6 @@ -; RUN: opt < %s -analyze -inline +; RUN: opt < %s -analyze -inline -enable-new-pm=0 ; PR1526 -; RUN: opt < %s -analyze -indvars +; RUN: opt < %s -analyze -indvars -enable-new-pm=0 ; PR1539 define i32 @test1() { ret i32 0 diff --git a/llvm/test/Other/cfg-printer-branch-weights-percent.ll b/llvm/test/Other/cfg-printer-branch-weights-percent.ll index bfbb73160444..d1a647d4fc43 100644 --- a/llvm/test/Other/cfg-printer-branch-weights-percent.ll +++ b/llvm/test/Other/cfg-printer-branch-weights-percent.ll @@ -1,4 +1,4 @@ -;RUN: opt < %s -analyze -dot-cfg -cfg-weights -cfg-dot-filename-prefix=%t 2>/dev/null +;RUN: opt < %s -dot-cfg -cfg-weights -cfg-dot-filename-prefix=%t 2>/dev/null ;RUN: FileCheck %s -input-file=%t.f.dot define void @f(i32) { diff --git a/llvm/test/Other/cfg-printer-branch-weights.ll b/llvm/test/Other/cfg-printer-branch-weights.ll index a7a53c38653c..52dfd204eb98 100644 --- a/llvm/test/Other/cfg-printer-branch-weights.ll +++ b/llvm/test/Other/cfg-printer-branch-weights.ll @@ -1,4 +1,4 @@ -;RUN: opt < %s -analyze -dot-cfg -cfg-weights -cfg-raw-weights -cfg-dot-filename-prefix=%t 2>/dev/null +;RUN: opt < %s -dot-cfg -cfg-weights -cfg-raw-weights -cfg-dot-filename-prefix=%t 2>/dev/null ;RUN: FileCheck %s -input-file=%t.f.dot define void @f(i32) { diff --git a/llvm/test/Other/cfg_deopt_unreach.ll b/llvm/test/Other/cfg_deopt_unreach.ll index 5cfcf0d13724..2aa04338bb4a 100644 --- a/llvm/test/Other/cfg_deopt_unreach.ll +++ b/llvm/test/Other/cfg_deopt_unreach.ll @@ -1,12 +1,12 @@ ; RUN: rm -rf %t ; RUN: mkdir -p %t -; RUN: opt < %s -analyze -dot-cfg -cfg-hide-unreachable-paths -cfg-dot-filename-prefix=%t/unreach 2>/dev/null +; RUN: opt < %s -dot-cfg -cfg-hide-unreachable-paths -cfg-dot-filename-prefix=%t/unreach 2>/dev/null ; RUN: FileCheck %s -input-file=%t/unreach.callee.dot -check-prefix=UNREACH -; RUN: opt < %s -analyze -dot-cfg -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/deopt 2>/dev/null +; RUN: opt < %s -dot-cfg -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/deopt 2>/dev/null ; RUN: FileCheck %s -input-file=%t/deopt.callee.dot -check-prefix=DEOPT -; RUN: opt < %s -analyze -dot-cfg -cfg-dot-filename-prefix=%t/no-flags 2>/dev/null +; RUN: opt < %s -dot-cfg -cfg-dot-filename-prefix=%t/no-flags 2>/dev/null ; RUN: FileCheck %s -input-file=%t/no-flags.callee.dot -check-prefix=NO-FLAGS -; RUN: opt < %s -analyze -dot-cfg -cfg-hide-unreachable-paths -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/both-flags 2>/dev/null +; RUN: opt < %s -dot-cfg -cfg-hide-unreachable-paths -cfg-hide-deoptimize-paths -cfg-dot-filename-prefix=%t/both-flags 2>/dev/null ; RUN: FileCheck %s -input-file=%t/both-flags.callee.dot -check-prefix=BOTH-FLAGS declare i8 @llvm.experimental.deoptimize.i8(...) diff --git a/llvm/test/Other/debugcounter-predicateinfo.ll b/llvm/test/Other/debugcounter-predicateinfo.ll index 6c82148f9e39..bbc7a0f71271 100644 --- a/llvm/test/Other/debugcounter-predicateinfo.ll +++ b/llvm/test/Other/debugcounter-predicateinfo.ll @@ -1,6 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py ; REQUIRES: asserts -; RUN: opt -debug-counter=predicateinfo-rename-skip=1,predicateinfo-rename-count=1 -print-predicateinfo -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -debug-counter=predicateinfo-rename-skip=1,predicateinfo-rename-count=1 -print-predicateinfo < %s 2>&1 | FileCheck %s ;; Test that, with debug counters on, we don't rename the first info, only the second define fastcc void @barney() { ; CHECK-LABEL: @barney( diff --git a/llvm/test/Other/heat-colors-graphs.ll b/llvm/test/Other/heat-colors-graphs.ll index 3af384fbcf5d..4cc58a640cd5 100644 --- a/llvm/test/Other/heat-colors-graphs.ll +++ b/llvm/test/Other/heat-colors-graphs.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -analyze -dot-cfg -cfg-heat-colors -cfg-dot-filename-prefix=%t 2>/dev/null +; RUN: opt < %s -dot-cfg -cfg-heat-colors -cfg-dot-filename-prefix=%t 2>/dev/null ; RUN: FileCheck %s -input-file=%t.f.dot --check-prefixes=CHECK-CFG,CHECK-BOTH ; RUN: opt %s -dot-callgraph -callgraph-heat-colors -callgraph-dot-filename-prefix=%t 2>/dev/null ; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK-BOTH diff --git a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll index 930819e77d33..3d416d33e130 100644 --- a/llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll +++ b/llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -indvars -loop-deletion -simplifycfg | opt -analyze -loops | FileCheck %s +; RUN: opt < %s -indvars -loop-deletion -simplifycfg | opt -analyze -loops -enable-new-pm=0 | FileCheck %s ; PR1179 ; CHECK-NOT: Loop Containing diff --git a/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll b/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll index f179da234cb1..4f215ab6d15a 100644 --- a/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll +++ b/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -domfrontier -loop-simplify -domfrontier -verify-dom-info -analyze +; RUN: opt < %s -domfrontier -loop-simplify -domfrontier -verify-dom-info define void @a() nounwind { diff --git a/llvm/test/Transforms/LoopSimplify/preserve-scev.ll b/llvm/test/Transforms/LoopSimplify/preserve-scev.ll index 07486ef24686..275a54005a1f 100644 --- a/llvm/test/Transforms/LoopSimplify/preserve-scev.ll +++ b/llvm/test/Transforms/LoopSimplify/preserve-scev.ll @@ -1,4 +1,5 @@ -; RUN: opt -S < %s -analyze -scalar-evolution -loop-simplify -scalar-evolution | FileCheck %s +; RUN: opt -S < %s -analyze -scalar-evolution -loop-simplify -scalar-evolution -enable-new-pm=0 | FileCheck %s +; RUN: opt -S < %s -passes='print,loop-simplify,print' 2>&1 | FileCheck %s ; Provide legal integer types. target datalayout = "n8:16:32:64" diff --git a/llvm/test/Transforms/LoopStrengthReduce/pr3086.ll b/llvm/test/Transforms/LoopStrengthReduce/pr3086.ll index 187c14f900a5..7e4e5b280788 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/pr3086.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/pr3086.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -loop-reduce -; RUN: opt < %s -analyze -scalar-evolution +; RUN: opt < %s -scalar-evolution ; PR 3086 %struct.Cls = type { i32, i8, [2 x %struct.Cls*], [2 x %struct.Lit*] } diff --git a/llvm/test/Transforms/Util/PredicateInfo/condprop.ll b/llvm/test/Transforms/Util/PredicateInfo/condprop.ll index 756457ab7fa9..4f5f07878cd2 100644 --- a/llvm/test/Transforms/Util/PredicateInfo/condprop.ll +++ b/llvm/test/Transforms/Util/PredicateInfo/condprop.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -print-predicateinfo -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s @a = external global i32 ; [#uses=7] diff --git a/llvm/test/Transforms/Util/PredicateInfo/edge.ll b/llvm/test/Transforms/Util/PredicateInfo/edge.ll index 31c8faae496b..dbd15dc70ba5 100644 --- a/llvm/test/Transforms/Util/PredicateInfo/edge.ll +++ b/llvm/test/Transforms/Util/PredicateInfo/edge.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -print-predicateinfo -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s define i32 @f1(i32 %x) { ; CHECK-LABEL: @f1( diff --git a/llvm/test/Transforms/Util/PredicateInfo/pr33456.ll b/llvm/test/Transforms/Util/PredicateInfo/pr33456.ll index f1cc83a071b9..99e168acde46 100644 --- a/llvm/test/Transforms/Util/PredicateInfo/pr33456.ll +++ b/llvm/test/Transforms/Util/PredicateInfo/pr33456.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -print-predicateinfo -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s ; Don't insert predicate info for conditions with a single target. @a = global i32 1, align 4 @d = common global i32 0, align 4 diff --git a/llvm/test/Transforms/Util/PredicateInfo/pr33457.ll b/llvm/test/Transforms/Util/PredicateInfo/pr33457.ll index b975ade9321d..4db0675bd80e 100644 --- a/llvm/test/Transforms/Util/PredicateInfo/pr33457.ll +++ b/llvm/test/Transforms/Util/PredicateInfo/pr33457.ll @@ -1,5 +1,5 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py -; RUN: opt -print-predicateinfo -analyze < %s 2>&1 | FileCheck %s +; RUN: opt -print-predicateinfo < %s 2>&1 | FileCheck %s ; Don't insert predicate info for conditions with a single target. @a = global i32 6, align 4 @c = global i32 -1, align 4