We create a lot of AbstractAttributes and they live as long as
the Attributor does. It seems reasonable to allocate them via a
BumpPtrAllocator owned by the Attributor.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D76589
[Attributor][NFC] Use a BumpPtrAllocator to allocate `AbstractAttribute`s ClosedPublic Authored by jdoerfert on Mar 22 2020, 11:59 PM.
Details Summary We create a lot of AbstractAttributes and they live as long as
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 23 2020, 7:10 AM Closed by commit rG41f2a57d0bc1: [Attributor][NFC] Use a BumpPtrAllocator to allocate `AbstractAttribute`s (authored by jdoerfert). · Explain WhyApr 1 2020, 7:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 254393 llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
|