llvm-project
770743fa - CodeGen: Allocate LiveIntervals ranges from a recycling arena

Commit
4 days ago
CodeGen: Allocate LiveIntervals ranges from a recycling arena LiveInterval and register unit LiveRange objects were individually heap allocated and freed. Allocate them from a BumpPtrAllocator owned by LiveIntervals, with recyclers so removed intervals and register unit ranges reuse their storage. The arena is reset in clear(), keeping the first slab across functions. Reduces llc instructions retired by ~0.3% on the 40 largest CTMark TUs for x86_64 and arm64. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Author
Committer
Parents
Loading