[all-commits] [llvm/llvm-project] 55d061: [mlir] make `parseCustomOperationName()` API check...
ftynse via All-commits
all-commits at lists.llvm.org
Wed Apr 30 00:28:43 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 55d0610e7bbea470c47985d9d3f638dff85411b5
https://github.com/llvm/llvm-project/commit/55d0610e7bbea470c47985d9d3f638dff85411b5
Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
Date: 2025-04-30 (Wed, 30 Apr 2025)
Changed paths:
M mlir/lib/AsmParser/Parser.cpp
M mlir/test/Dialect/Linalg/invalid.mlir
M mlir/test/IR/invalid.mlir
M mlir/test/IR/parser.mlir
M mlir/test/lib/Dialect/Test/TestOpsSyntax.cpp
M mlir/test/lib/Dialect/Test/TestOpsSyntax.td
Log Message:
-----------
[mlir] make `parseCustomOperationName()` API check token type (#136306)
Previously, this parser API call would accept any token and interpret
its spelling as operation name, including tokens that are are not valid
operation names. Make it accept only bare identifiers and keywords. The
latter is questionable but consistent with current practices upstream.
Fixes #132889.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list