The transform dialect infrastructure does not provide a default interpreter pass and instead expects users to create their own to ensure all relevant extensions and dependent dialects are loaded. Provide a base class for implementing such passes that includes the additional facilities for debugging and is aware of the multithreaded nature of pass execution. Reviewed By: pifon2a, nicolasvasilache Differential Revision: https://reviews.llvm.org/D142729
12 lines
500 B
MLIR
12 lines
500 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.test_print_remark_at_operand %arg0, "outer" : !transform.any_op
|
|
transform.sequence %arg0 : !transform.any_op failures(propagate) attributes {transform.target_tag="transform"} {
|
|
^bb1(%arg1: !transform.any_op):
|
|
transform.test_print_remark_at_operand %arg1, "inner" : !transform.any_op
|
|
}
|
|
}
|