mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 21:29:41 +00:00
It helps to deallocate memory as well as allocate it. =] This actually
cleans up all the chains allocated during the processing of each function so that for very large inputs we don't just grow memory usage without bound. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc83fcd9bd
commit
f5e47ac596
@ -766,6 +766,7 @@ bool MachineBlockPlacement::runOnMachineFunction(MachineFunction &F) {
|
||||
AlignLoops(F);
|
||||
|
||||
BlockToChain.clear();
|
||||
ChainAllocator.DestroyAll();
|
||||
|
||||
// We always return true as we have no way to track whether the final order
|
||||
// differs from the original order.
|
||||
|
Loading…
x
Reference in New Issue
Block a user