[all-commits] [llvm/llvm-project] ea4a6c: [Inline] Make sure the InlineAdvisor is correctly ...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Tue Oct 12 10:42:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea4a6c84267fe51c6a0debddf437df37b62ed2d1
https://github.com/llvm/llvm-project/commit/ea4a6c84267fe51c6a0debddf437df37b62ed2d1
Author: Mircea Trofin <mtrofin at google.com>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M llvm/include/llvm/Analysis/InlineAdvisor.h
M llvm/lib/Transforms/IPO/Inliner.cpp
M llvm/test/Other/new-pm-defaults.ll
M llvm/test/Other/new-pm-lto-defaults.ll
M llvm/test/Other/new-pm-pgo-preinline.ll
M llvm/test/Other/new-pm-thinlto-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-postlink-samplepgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-pgo-defaults.ll
M llvm/test/Other/new-pm-thinlto-prelink-samplepgo-defaults.ll
A llvm/test/Transforms/Inline/pr52118.ll
Log Message:
-----------
[Inline] Make sure the InlineAdvisor is correctly cleared.
If another inlining session came after a ModuleInlinerWrapperPass, the
advisor alanysis would still be cached, but its Result would be cleared.
We need to clear both.
This addresses PR52118
Differential Revision: https://reviews.llvm.org/D111586
More information about the All-commits
mailing list