-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR1827
declare void @use(i32)
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR2602
define i32 @a() nounwind {
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR4501
define void @test() {
-; RUN: opt %s -always-inline | opt -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt %s -always-inline 2>&1 | opt -disable-output -scalar-evolution
+; RUN: opt %s -always-inline | opt -passes='print<scalar-evolution>'
; There was optimization bug in ScalarEvolution, that causes too long
; compute time and stack overflow crash.
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
; PR4537
; ModuleID = 'b.bc'
-
-; RUN: opt %s -analyze -scalar-evolution -enable-new-pm=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
+; RUN: opt %s -passes='print<scalar-evolution>' -scalar-evolution-classify-expressions=0 2>&1 | 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"
target triple = "x86_64-unknown-linux-gnu"
-; RUN: opt %s -analyze -scalar-evolution -enable-new-pm=0 -scalar-evolution-classify-expressions=0 2>&1 | FileCheck %s
+; RUN: opt %s -passes='print<scalar-evolution>' -scalar-evolution-classify-expressions=0 2>&1 | 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"
target triple = "x86_64-unknown-linux-gnu"
-; RUN: opt < %s -analyze -enable-new-pm=0 -scalar-evolution
-; RUN: opt < %s -disable-output -scalar-evolution
+; RUN: opt < %s -passes='print<scalar-evolution>'
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"
%JavaObject = type { [0 x i32 (...)*]*, i8* }