[llvm] [CodeGen][ARM64EC] Factor out emitFunctionAlias and getSymbolFromMetadata in emitFunctionEntryLabel. (PR #92098)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 14 04:19:45 PDT 2024
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 5865482049872d3ae52ea5559abb9e8f4a1e55e5 9fe9f339f19fbf2532523512702a6247e761dc03 -- llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp b/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
index 96da912800..3ce766fc17 100644
--- a/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
+++ b/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
@@ -1183,7 +1183,8 @@ void AArch64AsmPrinter::emitFunctionEntryLabel() {
return Sym;
};
- if (MCSymbol *UnmangledSym = getSymbolFromMetadata("arm64ec_unmangled_name")) {
+ if (MCSymbol *UnmangledSym =
+ getSymbolFromMetadata("arm64ec_unmangled_name")) {
MCSymbol *ECMangledSym = getSymbolFromMetadata("arm64ec_ecmangled_name");
if (ECMangledSym) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/92098
More information about the llvm-commits
mailing list