[llvm] 877b5b1 - [test] Make scc-pass-printer.ll work with NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 23:54:03 PST 2020


Author: Arthur Eubanks
Date: 2020-11-17T23:53:47-08:00
New Revision: 877b5b1085b0d6761deeb89a3fdd976388c53329

URL: https://github.com/llvm/llvm-project/commit/877b5b1085b0d6761deeb89a3fdd976388c53329
DIFF: https://github.com/llvm/llvm-project/commit/877b5b1085b0d6761deeb89a3fdd976388c53329.diff

LOG: [test] Make scc-pass-printer.ll work with NPM

Pin some legacy PM specific RUN lines to legacy PM.

Added: 
    

Modified: 
    llvm/test/Other/scc-pass-printer.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Other/scc-pass-printer.ll b/llvm/test/Other/scc-pass-printer.ll
index 9d6016ba4e8f..8bf3d8893982 100644
--- a/llvm/test/Other/scc-pass-printer.ll
+++ b/llvm/test/Other/scc-pass-printer.ll
@@ -1,10 +1,10 @@
-; RUN: opt < %s 2>&1 -disable-output \
+; RUN: opt -enable-new-pm=0 < %s 2>&1 -disable-output \
 ; RUN: 	   -inline -print-after-all | FileCheck %s --check-prefix=LEGACY
 ; RUN: opt < %s 2>&1 -disable-output \
 ; RUN: 	   -passes=inline -print-after-all | FileCheck %s -check-prefix=INL
 ; RUN: opt < %s 2>&1 -disable-output \
 ; RUN: 	   -passes=inliner-wrapper -print-after-all | FileCheck %s -check-prefix=INL
-; RUN: opt < %s 2>&1 -disable-output \
+; RUN: opt -enable-new-pm=0 < %s 2>&1 -disable-output \
 ; RUN: 	   -inline -print-after-all -print-module-scope | FileCheck %s -check-prefix=LEGACY-MOD
 ; RUN: opt < %s 2>&1 -disable-output \
 ; RUN: 	   -passes=inline -print-after-all -print-module-scope | FileCheck %s -check-prefix=INL-MOD


        


More information about the llvm-commits mailing list