Files
clang-p2996/mlir/test/Dialect/Transform/include/test-interpreter-external-source.mlir
Oleksandr "Alex" Zinenko 2798b72ae7 [mlir] introduce debug transform dialect extension (#77595)
Introduce a new extension for simple print-debugging of the transform
dialect scripts. The initial version of this extension consists of two
ops that are printing the payload objects associated with transform
dialect values. Similar ops were already available in the test extenion
and several downstream projects, and were extensively used for testing.
2024-01-12 13:24:02 +01:00

12 lines
484 B
MLIR

// RUN: mlir-opt %s
// No need to check anything else than parsing here, this is being used by another test as data.
transform.sequence failures(propagate) {
^bb0(%arg0: !transform.any_op):
transform.debug.emit_remark_at %arg0, "outer" : !transform.any_op
transform.sequence %arg0 : !transform.any_op failures(propagate) attributes {transform.target_tag="transform"} {
^bb1(%arg1: !transform.any_op):
transform.debug.emit_remark_at %arg1, "inner" : !transform.any_op
}
}