[Mlir-commits] [mlir] [mlir] make `parseCustomOperationName()` API check token type (PR #136306)
Jeremy Kun
llvmlistbot at llvm.org
Mon Apr 28 10:32:54 PDT 2025
j2kun wrote:
As far as I can tell from reading the lang ref, this is only covered by the spec for operation name
```
bare-id ::= (letter|[_]) (letter|digit|[_$.])*
...
custom-operation ::= bare-id custom-operation-format
```
which seems consistent with this PR to require bare-identifiers (the lang ref does not define keyword, but seems to imply it is synonymous with bare-id)
https://github.com/llvm/llvm-project/pull/136306
More information about the Mlir-commits
mailing list