[Mlir-commits] [mlir] [mlir][Transform] Fix crash with invalid ir for transform libraries (PR #75649)
Kunwar Grover
llvmlistbot at llvm.org
Sat Dec 16 04:14:01 PST 2023
================
@@ -0,0 +1,8 @@
+// RUN: mlir-opt %s --verify-diagnostics
+
+module attributes {transform.with_named_sequence} {
+ transform.named_sequence private @private_helper(%arg0: !transform.any_op {transform.readonly}) {
+ // expected-error @below {{expected ','}}
+ transform.test_print_remark_at_operand %arg0 "message" : !transform.any_op
----------------
Groverkss wrote:
This is an error produced by the parser. This patch only makes sure we exit gracefully.
https://github.com/llvm/llvm-project/pull/75649
More information about the Mlir-commits
mailing list