llvm-project
[LLVM] Add flatten function attribute to LLVM IR and implement recursive inlining in AlwaysInliner
#174899
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
21
Changes
View On
GitHub
[LLVM] Add flatten function attribute to LLVM IR and implement recursive inlining in AlwaysInliner
#174899
grigorypas
merged 21 commits into
llvm:main
from
grigorypas:add_flatten_recursively
grigorypas
requested a review
from
nikic
128 days ago
grigorypas
requested a review
from
jyknight
128 days ago
grigorypas
requested a review
from
mtrofin
128 days ago
grigorypas
requested a review
from
erichkeane
128 days ago
grigorypas
requested a review
from
WenleiHe
128 days ago
grigorypas
requested a review
from
boomanaiden154
128 days ago
grigorypas
requested a review
from
efriedma-quic
128 days ago
llvmbot
added
llvm:ir
llvmbot
added
llvm:transforms
mtrofin
requested a review
from
aeubanks
128 days ago
apolloww
commented on 2026-01-13
apolloww
commented on 2026-01-13
llvmbot
added
llvm:analysis
aeubanks
commented on 2026-02-18
Add flatten attribute to LLVM
14636cf3
Implement flattening logic in AlwaysInliner pass
cd91e818
Bug fixes: filter non-inlanable new call sites and ABI violations
b8b5bea1
Add test case to test ABI violation
c4f4638f
Run TTI on Callee
b28f4677
Add flattening logic to Inliner pass
65c55cd4
Move common code to utility file
f0d3076f
Change flatten-sme test to check Inliner as well
ff0cfaf9
grigorypas
force pushed
86 days ago
Simplify flatten attribute handling by removing template and policy c…
24f5f56b
grigorypas
force pushed
to
24f5f56b
86 days ago
grigorypas
requested a review
from
aeubanks
81 days ago
grigorypas
requested a review
from
apolloww
81 days ago
aeubanks
commented on 2026-02-23
Handle flatten in getAttributeBasedInliningDecision instead of getAdv…
acbb5173
Move inlineHistoryIncludes from InliningUtils.h to Cloning.h/InlineFu…
88ef480d
Remove InlinerHelper class, use local TryInline lambda instead
6e2f08c9
Remove duplicate static inlineHistoryIncludes from ModuleInliner.cpp
50122c43
grigorypas
requested a review
from
aeubanks
77 days ago
aeubanks
commented on 2026-02-27
Address review comments: add braces and remove redundant check
bf43762c
grigorypas
force pushed
to
bf43762c
74 days ago
nikic
commented on 2026-03-02
Address review: structured bindings, restore comments, use ArrayRef
f1fedef9
Regenerate flatten-sme.ll checks with update_test_checks.py
89d61a24
grigorypas
force pushed
to
89d61a24
74 days ago
Revert structured bindings to fix C++17 build
053b7633
aeubanks
commented on 2026-03-05
Use getAttributeBasedInliningDecision for flatten in AlwaysInliner
a3b561c5
Regenerate flatten.ll checks with update_test_checks.py
8f98379f
grigorypas
requested a review
from
aeubanks
67 days ago
aeubanks
commented on 2026-03-10
Address review: remove redundant NoInline checks, deduplicate recursi…
2b9f05e2
grigorypas
requested a review
from
aeubanks
58 days ago
aeubanks
approved these changes on 2026-03-18
Merge branch 'main' into add_flatten_recursively
6be7d3c4
grigorypas
merged
f66bd8e8
into main
57 days ago
Login to write a write a comment.
Login via GitHub
Reviewers
aeubanks
nikic
apolloww
jyknight
mtrofin
erichkeane
WenleiHe
boomanaiden154
efriedma-quic
Assignees
No one assigned
Labels
llvm:ir
llvm:analysis
llvm:transforms
Milestone
No milestone
Login to write a write a comment.
Login via GitHub