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.
12 lines
484 B
MLIR
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
|
|
}
|
|
}
|