[all-commits] [llvm/llvm-project] 789f01: [CodeGenPrepare] Implement releaseMemory
Sven van Haastregt via All-commits
all-commits at lists.llvm.org
Wed Jun 28 03:34:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 789f012d505b0d570bc74bca92e43f931c1309ca
https://github.com/llvm/llvm-project/commit/789f012d505b0d570bc74bca92e43f931c1309ca
Author: Sven van Haastregt <sven.vanhaastregt at arm.com>
Date: 2023-06-28 (Wed, 28 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/CodeGenPrepare.cpp
Log Message:
-----------
[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 at arm.com>
More information about the All-commits
mailing list