[llvm] [Analysis]: Allow inlining recursive call IF recursion depth is 1. (PR #119677)
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 12 07:26:37 PST 2024
================
@@ -235,7 +235,7 @@ struct InlineParams {
std::optional<bool> EnableDeferral;
/// Indicate whether we allow inlining for recursive call.
- std::optional<bool> AllowRecursiveCall = false;
+ std::optional<bool> AllowRecursiveCall = true;
----------------
mtrofin wrote:
this should probably become a flag.
https://github.com/llvm/llvm-project/pull/119677
More information about the llvm-commits
mailing list