[Dominators][NewPM] Pin tests with -analyze to legacy PM
authorArthur Eubanks <aeubanks@google.com>
Tue, 15 Sep 2020 18:59:00 +0000 (11:59 -0700)
committerArthur Eubanks <aeubanks@google.com>
Tue, 15 Sep 2020 18:59:00 +0000 (11:59 -0700)
-analyze isn't supported in NPM. All affected tests have corresponding
NPM RUN line.

llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll
llvm/test/Analysis/Dominators/basic.ll

index c036fe2..6fa3fec 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -domtree -break-crit-edges -analyze -domtree | FileCheck %s
+; RUN: opt < %s -domtree -break-crit-edges -analyze -domtree -enable-new-pm=0 | FileCheck %s
 ; RUN: opt < %s -passes='require<domtree>,break-crit-edges,print<domtree>' -disable-output 2>&1| FileCheck %s
 ; PR932
 
index 353c339..afa6f1e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -domtree -analyze | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-OLDPM
+; RUN: opt < %s -domtree -analyze -enable-new-pm=0 | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-OLDPM
 ; RUN: opt < %s -disable-output -passes='print<domtree>' 2>&1 | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-NEWPM
 
 define void @test1() {