[llvm] [MC] Allocate MCFragment with a bump allocator (PR #96402)
Alexis Engelke via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 22 10:58:15 PDT 2024
================
@@ -136,6 +136,9 @@ class MCContext {
/// objects.
BumpPtrAllocator Allocator;
+ /// For MCFragment instances.
+ BumpPtrAllocator FragmentAllocator;
----------------
aengelke wrote:
Any particular reasons to not reuse `Allocator`?
https://github.com/llvm/llvm-project/pull/96402
More information about the llvm-commits
mailing list