aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorHassnaa Hamdi <hassnaa.hamdi@arm.com>2025-06-04 11:41:55 +0100
committerGitHub <noreply@github.com>2025-06-04 11:41:55 +0100
commitc81d84c30b45b78a41cdfeceabbe6d784372ea30 (patch)
tree680c66663d8690ded4198e4dfc2b96d12f488dbf /clang/lib/CodeGen/CodeGenModule.cpp
parent107d8c792f5df7166615629a1c7bb84425def143 (diff)
downloadllvm-c81d84c30b45b78a41cdfeceabbe6d784372ea30.zip
llvm-c81d84c30b45b78a41cdfeceabbe6d784372ea30.tar.gz
llvm-c81d84c30b45b78a41cdfeceabbe6d784372ea30.tar.bz2
[InlineCost]: Optimize inlining of recursive function. (#139982)
- Consider inlining recursive function of depth 1 only when the caller is the function itself instead of inlining it for each callsite so that we avoid redundant work. - Use CondContext instead of DomTree for better compilation time.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions