aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineModuleInfo.cpp
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <git@ozinenko.com>2025-04-30 09:28:21 +0200
committerGitHub <noreply@github.com>2025-04-30 09:28:21 +0200
commit55d0610e7bbea470c47985d9d3f638dff85411b5 (patch)
treee64c035f0f632ad482b82bc7338e6fc36778cbfb /llvm/lib/CodeGen/MachineModuleInfo.cpp
parent7318074168e324097b7f6ec93e34915463bf70f1 (diff)
downloadllvm-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