[Mlir-commits] [mlir] fa211f3 - Update test error string post pass registration change

Jacques Pienaar llvmlistbot at llvm.org
Sat Feb 20 15:55:08 PST 2021


Author: Jacques Pienaar
Date: 2021-02-20T15:54:52-08:00
New Revision: fa211f3ce9a9c83b72a524799e4e060e79e92da4

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

LOG: Update test error string post pass registration change

Added: 
    

Modified: 
    mlir/test/Bindings/Python/pass_manager.py

Removed: 
    


################################################################################
diff  --git a/mlir/test/Bindings/Python/pass_manager.py b/mlir/test/Bindings/Python/pass_manager.py
index 2b682d84b751..61ff64f67be6 100644
--- a/mlir/test/Bindings/Python/pass_manager.py
+++ b/mlir/test/Bindings/Python/pass_manager.py
@@ -73,7 +73,7 @@ def testInvalidNesting():
     try:
       pm = PassManager.parse("func(print-op-graph)")
     except ValueError as e:
-      # CHECK: Can't add pass 'PrintOp' restricted to 'module' on a PassManager intended to run on 'func', did you intend to nest?
+      # CHECK: Can't add pass 'ViewOpGraphPass' restricted to 'module' on a PassManager intended to run on 'func', did you intend to nest?
       # CHECK: ValueError exception: invalid pass pipeline 'func(print-op-graph)'.
       log("ValueError exception:", e)
     else:


        


More information about the Mlir-commits mailing list