aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorTwice <twice@apache.org>2025-10-09 19:18:53 +0800
committerGitHub <noreply@github.com>2025-10-09 19:18:53 +0800
commitb6bf196cdc6a71955dd90968ab96667899cebdb8 (patch)
tree297c40e3d51a4342d72c82affca3c4e44dcb4efd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent825d459ac1aeda2d9dba01de058d92e7f17395c0 (diff)
downloadllvm-b6bf196cdc6a71955dd90968ab96667899cebdb8.zip
llvm-b6bf196cdc6a71955dd90968ab96667899cebdb8.tar.gz
llvm-b6bf196cdc6a71955dd90968ab96667899cebdb8.tar.bz2
[MLIR][Python] Make the TypeID allocator globally defined in `PassManager.add` (#162594)
Previously, each time we called `PassManager.add(python_pass_callable)`, a new `TypeID` allocator was created and never released afterward. This approach could potentially lead to some issues. In this PR, we introduce a global `TypeIDAllocator` that is shared across all `add` calls to allocate IDs.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions