[all-commits] [llvm/llvm-project] 7e44c0: [IPO] Fix infinite recursive inlining in ModuleInl...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Mon May 4 14:38:20 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7e44c07e60e03918029d57f639114cd2d2621fc0
https://github.com/llvm/llvm-project/commit/7e44c07e60e03918029d57f639114cd2d2621fc0
Author: Kazu Hirata <kazu at google.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M llvm/lib/Transforms/IPO/ModuleInliner.cpp
A llvm/test/Transforms/Inline/module-inliner-cycle.ll
Log Message:
-----------
[IPO] Fix infinite recursive inlining in ModuleInliner (#195471)
The ModuleInliner currently lacks inline history tracking. Without
it, the inliner can get stuck in an infinite loop when mutually
recursive functions are involved.
This patch enables inline history tracking in the ModuleInliner to
address this issue.
The minsize attribute in the test case lowers the threshold for the
mutually recursive functions, ensuring the bug reproduces in pass
isolation.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list