[llvm] [LLVM] Add flatten function attribute to LLVM IR and implement recursive inlining in AlwaysInliner (PR #174899)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 2 11:59:32 PST 2026
================
@@ -3443,3 +3443,16 @@ llvm::InlineResult llvm::InlineFunction(CallBase &CB, InlineFunctionInfo &IFI,
return Result;
}
+
+bool llvm::inlineHistoryIncludes(
+ Function *F, int InlineHistoryID,
+ const SmallVectorImpl<std::pair<Function *, int>> &InlineHistory) {
----------------
nikic wrote:
```suggestion
ArrayRef<std::pair<Function *, int>> InlineHistory) {
```
https://github.com/llvm/llvm-project/pull/174899
More information about the llvm-commits
mailing list