1 ; RUN: opt -mem2reg -instcombine -print-after-all -disable-output < %s 2>&1 | FileCheck %s
2 ; RUN: opt -passes='mem2reg,instcombine' -print-after-all -disable-output < %s 2>&1 | FileCheck %s
11 ;CHECK-NOT: IR Dump After PassManager
12 ;CHECK-NOT: IR Dump After ModuleToFunctionPassAdaptor
14 ;CHECK: *** IR Dump After {{Promote Memory to Register|PromotePass}}
15 ;CHECK: define void @tester
16 ;CHECK-NOT: define void @foo
17 ;CHECK: *** IR Dump After {{Combine redundant instructions|InstCombinePass}}
18 ;CHECK: define void @tester
19 ;CHECK-NOT: define void @foo
20 ;CHECK: *** IR Dump After {{Promote Memory to Register|PromotePass}}
21 ;CHECK: define void @foo
22 ;CHECK-NOT: define void @tester
23 ;CHECK: *** IR Dump After {{Combine redundant instructions|InstCombinePass}}
24 ;CHECK: define void @foo
25 ;CHECK-NOT: define void @tester
26 ;CHECK: *** IR Dump After {{Module Verifier|VerifierPass}}
28 ;CHECK-NOT: IR Dump After Print Module IR