[llvm] [Backend] Add clearSubtargetMap API for TargetMachine. (PR #112383)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 15 09:26:36 PDT 2024


arsenm wrote:

> I don't want to tear down the whole TargetMachine, I just want to release the memory in this map specifically and dedup them into a centralized place to reduce memory footprint when I have multiple TargetMachines running in parallel in the system.

Why do you need multiple TargetMachines from the same target to compile in parallel? 


https://github.com/llvm/llvm-project/pull/112383


More information about the llvm-commits mailing list