[llvm] [FnSpecialization] Enable function specialization of call chains (PR #163891)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 16 16:46:43 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions h,cpp -- llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h llvm/lib/Transforms/IPO/FunctionSpecialization.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h b/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
index a8f6447c9..84bdd5c23 100644
--- a/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
+++ b/llvm/include/llvm/Transforms/IPO/FunctionSpecialization.h
@@ -127,9 +127,7 @@ struct SpecSig {
}
};
-enum CallSiteStatusT {
- AWAITING_PARENT, HAS_PARENT, NO_PARENT
-};
+enum CallSiteStatusT { AWAITING_PARENT, HAS_PARENT, NO_PARENT };
struct SpecCall {
CallBase *CallSite;
``````````
</details>
https://github.com/llvm/llvm-project/pull/163891
More information about the llvm-commits
mailing list