Each test has a legacy PM pinned to legacy PM and a NPM RUN line.
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D87660
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
@a = external global i32, align 4
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
@a = external global i32, align 4
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
@a = external global i32, align 4
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
; PR932
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
; Function Attrs: nounwind ssp uwtable
; CHECK-NEXT: [1] <<exit node>>
; CHECK-NEXT: [2] %2
; CHECK-NEXT: [2] %1
-; CHECK-NEXT: [3] %0
\ No newline at end of file
+; CHECK-NEXT: [3] %0
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
define internal void @f() {
entry:
br i1 undef, label %bb35, label %bb3.i
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
define internal void @f() {
entry:
br i1 undef, label %a, label %bb3.i
; CHECK-NEXT: [3] %bb35.loopexit3
; CHECK-NEXT: [2] %a
; CHECK-NEXT: [2] %entry
-; CHECK-NEXT: [2] %bb3.i
\ No newline at end of file
+; CHECK-NEXT: [2] %bb3.i
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
define internal void @f() {
entry:
br i1 undef, label %bb35, label %bb3.i
; CHECK-NEXT: [3] %bb35.loopexit3
; CHECK-NEXT: [2] %entry
; CHECK-NEXT: [2] %bb3.i
-; CHECK-NEXT: Roots: %bb35 %bb3.i
\ No newline at end of file
+; CHECK-NEXT: Roots: %bb35 %bb3.i
-; RUN: opt < %s -postdomtree -analyze | FileCheck %s
+; RUN: opt < %s -postdomtree -analyze -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='print<postdomtree>' 2>&1 | FileCheck %s
define internal void @f() {
entry:
br i1 1, label %a, label %b
; CHECK-NEXT: [3] %a
; CHECK-NEXT: [3] %entry
; CHECK-NEXT: [3] %b
-; CHECK-NEXT: [2] %bb3.i
\ No newline at end of file
+; CHECK-NEXT: [2] %bb3.i