aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/BinaryFormat
diff options
context:
space:
mode:
authorAndy Kaylor <akaylor@nvidia.com>2025-08-07 12:42:51 -0700
committerGitHub <noreply@github.com>2025-08-07 12:42:51 -0700
commitca52d9b8bebd9214db8ab71f87a1d5eb6d2ad42e (patch)
tree884ecfd5f776ef8b0c1f9a5f0b7ee010170223cb /llvm/lib/BinaryFormat
parent069bf187ccc432fa379287670461462ed5001a04 (diff)
downloadllvm-ca52d9b8bebd9214db8ab71f87a1d5eb6d2ad42e.zip
llvm-ca52d9b8bebd9214db8ab71f87a1d5eb6d2ad42e.tar.gz
llvm-ca52d9b8bebd9214db8ab71f87a1d5eb6d2ad42e.tar.bz2
[CIR] Upstream EHScopeStack memory allocator (#152215)
When the cleanup handling code was initially upstreamed, a SmallVector was used to simplify the handling of the stack of cleanup objects. However, that mechanism won't scale well enough for the rate at which cleanup handlers are going to be pushed and popped while compiling a large program. This change introduces the custom memory allocator which is used in classic codegen and the CIR incubator. Thiis does not otherwise change the cleanup handling implementation and many parts of the infrastructure are still missing. This is not intended to have any observable effect on the generated CIR, but it does change the internal implementation significantly, so it's not exactly an NFC change. The functionality is covered by existing tests.
Diffstat (limited to 'llvm/lib/BinaryFormat')
0 files changed, 0 insertions, 0 deletions