diff options
author | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2023-06-28 11:33:27 +0100 |
---|---|---|
committer | Sven van Haastregt <sven.vanhaastregt@arm.com> | 2023-06-28 11:33:27 +0100 |
commit | 789f012d505b0d570bc74bca92e43f931c1309ca (patch) | |
tree | efcd5fce061c98cd5b06b355d88fe4905c92fd35 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 98d6ab9d6a4918e3887334672716278a1b632c12 (diff) | |
download | llvm-789f012d505b0d570bc74bca92e43f931c1309ca.zip llvm-789f012d505b0d570bc74bca92e43f931c1309ca.tar.gz llvm-789f012d505b0d570bc74bca92e43f931c1309ca.tar.bz2 |
[CodeGenPrepare] Implement releaseMemory
Release BlockFrequencyInfo and BranchProbabilityInfo results and other
per function information immediately afterwards, instead of holding
onto the memory until the next `CodeGenPrepare::runOnFunction` call.
Differential Revision: https://reviews.llvm.org/D152552
Co-authored-by: Erik Hogeman <erik.hogeman@arm.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions