Fix MLIR python binding test after changes in ASM printer
authorMehdi Amini <joker.eph@gmail.com>
Tue, 31 Aug 2021 18:49:47 +0000 (18:49 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 31 Aug 2021 18:50:22 +0000 (18:50 +0000)
mlir/test/python/ir/operation.py

index d4fa091..5f510fb 100644 (file)
@@ -59,7 +59,7 @@ def testTraverseOpRegionBlockIterators():
 
   # CHECK: REGION 0:
   # CHECK:   BLOCK 0:
-  # CHECK:     OP 0: builtin.func
+  # CHECK:     OP 0: func
   # CHECK:       REGION 0:
   # CHECK:         BLOCK 0:
   # CHECK:           OP 0: %0 = "custom.addi"
@@ -96,7 +96,7 @@ def testTraverseOpRegionBlockIndices():
 
   # CHECK: REGION 0:
   # CHECK:   BLOCK 0:
-  # CHECK:     OP 0: builtin.func
+  # CHECK:     OP 0: func
   # CHECK:     OP 0: parent builtin.module
   # CHECK:       REGION 0:
   # CHECK:         BLOCK 0: