[PATCH] D152552: [CodeGenPrepare] Implement releaseMemory
Sven van Haastregt via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 9 09:43:43 PDT 2023
svenvh added inline comments.
================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:383
+ BFI.reset();
+ }
+
----------------
arsenm wrote:
> There are a few other maps, do those need to be cleared as well?
I was wondering about those too. They weren't problematic for my use case, but if you think it's worth I can move the various `clear()`s into `releaseMemory` too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152552/new/
https://reviews.llvm.org/D152552
More information about the llvm-commits
mailing list