forked from OSchip/llvm-project
[mlir] Fix Python tests after "module_terminator" migrated to ODS
The "module_terminator" op now has a custom syntax and therefore is printed without quotes. Adapt Python tests to check for this syntax.
This commit is contained in:
parent
d44edfc109
commit
ef8e859c0b
|
@ -60,7 +60,7 @@ def testTraverseOpRegionBlockIterators():
|
|||
# CHECK: BLOCK 0:
|
||||
# CHECK: OP 0: %0 = "custom.addi"
|
||||
# CHECK: OP 1: return
|
||||
# CHECK: OP 1: "module_terminator"
|
||||
# CHECK: OP 1: module_terminator
|
||||
walk_operations("", op)
|
||||
|
||||
run(testTraverseOpRegionBlockIterators)
|
||||
|
@ -97,7 +97,7 @@ def testTraverseOpRegionBlockIndices():
|
|||
# CHECK: BLOCK 0:
|
||||
# CHECK: OP 0: %0 = "custom.addi"
|
||||
# CHECK: OP 1: return
|
||||
# CHECK: OP 1: "module_terminator"
|
||||
# CHECK: OP 1: module_terminator
|
||||
walk_operations("", module.operation)
|
||||
|
||||
run(testTraverseOpRegionBlockIndices)
|
||||
|
|
Loading…
Reference in New Issue