Files
clang-p2996/mlir/test/Examples/transform/Ch2/invalid.mlir
Oleksandr "Alex" Zinenko b33b91a217 [mlir] update transform dialect tutorials (#81199)
Use the "main" transform-interpreter pass instead of the test pass.
This, along with the previously introduced debug extension, now allow
tutorials to no longer depend on test passes and extensions.
2024-02-09 17:35:14 +01:00

12 lines
463 B
MLIR

// RUN: transform-opt-ch2 %s --transform-interpreter --split-input-file \
// RUN: --verify-diagnostics
// expected-note @below {{offending payload}}
module attributes {transform.with_named_sequence} {
transform.named_sequence @__transform_main(%arg0: !transform.any_op) {
// expected-error @below {{only applies to func.call payloads}}
transform.my.change_call_target %arg0, "updated" : !transform.any_op
transform.yield
}
}