[llvm] [AArch64] SME implementation for agnostic-ZA functions (PR #120150)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 16 13:36:59 PST 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 e0fb3acd8a0b2a9340b9b2ae370c84c98f1a5cc2 5d78ebfd111f91bd62bf9d2c261168b09d2f62cb --extensions h,cpp -- llvm/lib/IR/Verifier.cpp llvm/lib/Target/AArch64/AArch64FastISel.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.cpp llvm/lib/Target/AArch64/AArch64ISelLowering.h llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.cpp llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index a70047a6cb..152fb8d746 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -8826,11 +8826,9 @@ static SDValue emitSMEStateSaveRestore(const AArch64TargetLowering &TLI,
                             TLI.getPointerTy(DAG.getDataLayout()));
   auto *RetTy = Type::getVoidTy(*DAG.getContext());
   TargetLowering::CallLoweringInfo CLI(DAG);
-  CLI.setDebugLoc(DL)
-      .setChain(Chain)
-      .setLibCallee(
-          CallingConv::AArch64_SME_ABI_Support_Routines_PreserveMost_From_X1,
-          RetTy, Callee, std::move(Args));
+  CLI.setDebugLoc(DL).setChain(Chain).setLibCallee(
+      CallingConv::AArch64_SME_ABI_Support_Routines_PreserveMost_From_X1, RetTy,
+      Callee, std::move(Args));
 
   return TLI.LowerCallTo(CLI).second;
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/120150


More information about the llvm-commits mailing list