The transform dialect has been around for a while and is sufficiently stable at this point. Add the first three chapters of the tutorial describing its usage and extension. Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D151491
12 lines
396 B
MLIR
12 lines
396 B
MLIR
// RUN: transform-opt-ch2 %s --test-transform-dialect-interpreter --split-input-file --verify-diagnostics
|
|
|
|
// expected-note @below {{offending payload}}
|
|
module {
|
|
transform.sequence failures(propagate) {
|
|
^bb0(%arg0: !transform.any_op):
|
|
// expected-error @below {{only applies to func.call payloads}}
|
|
transform.my.change_call_target %arg0, "updated" : !transform.any_op
|
|
yield
|
|
}
|
|
}
|