[clang] [llvm] [clang/LLVM] Add flatten_deep attribute for depth-limited inlining (1/2) (PR #165777)
Yuxuan Chen via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 4 13:04:28 PST 2025
================
@@ -4032,6 +4032,29 @@ callee is unavailable or if the callee has the ``noinline`` attribute.
}];
}
+def FlattenDeepDocs : Documentation {
+ let Category = DocCatFunction;
+ let Content = [{
+The ``flatten_deep`` attribute causes calls within the attributed function and
----------------
yuxuanchen1997 wrote:
Grammatically, I am not a big fan of this name. It probably makes better sense if it's called "flatten_at_depth(3)".
https://github.com/llvm/llvm-project/pull/165777
More information about the llvm-commits
mailing list