[PATCH] D71072: [PGO][PGSO] Instrument the code gen / target passes.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 6 13:48:17 PST 2019
yamauchi added a comment.
The issue was that in AsmPrinter ORE also depends on LazyMachineBlockFrequencyInfo and *conditionally* computes MBFI. Trying to compute it twice would delete the first one and causes an access-after-free error in ORE. I think a fix would be to compute MBFI once and share it (use one from ORE if it is available and compute one otherwise.)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71072/new/
https://reviews.llvm.org/D71072
More information about the llvm-commits
mailing list