HomePhabricator

[Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer

Authored by bkramer on May 2 2020, 6:59 AM.

Description

[Allocator] Make Deallocate() pass alignment and make it use (de)allocate_buffer

This lets it use sized deallocation and make more efficient alignment
decisions. Also adjust BumpPtrAllocator to always allocate at
alignof(std::max_align_t).

Details

Committed
bkramerMay 2 2020, 7:08 AM
Parents
rGfe4245a4c1c2: [RISCV] Implement convertSelectOfConstantsToMath
Branches
Unknown
Tags
Unknown