diff options
author | Oleksandr "Alex" Zinenko <git@ozinenko.com> | 2025-04-30 09:28:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-30 09:28:21 +0200 |
commit | 55d0610e7bbea470c47985d9d3f638dff85411b5 (patch) | |
tree | e64c035f0f632ad482b82bc7338e6fc36778cbfb /llvm/lib/CodeGen/MachineModuleInfo.cpp | |
parent | 7318074168e324097b7f6ec93e34915463bf70f1 (diff) | |
download | llvm-55d0610e7bbea470c47985d9d3f638dff85411b5.zip llvm-55d0610e7bbea470c47985d9d3f638dff85411b5.tar.gz llvm-55d0610e7bbea470c47985d9d3f638dff85411b5.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions