[llvm] [AArch64][GlobalISel] Implement selectVaStartAAPCS (PR #106979)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 01:17:37 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 7b4b85b75d22a792b2ef80e6af4f0faf18da0a43 0910b49d02d6e0b833959a3b01a8b6dade72265b --extensions cpp -- llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp b/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
index bfed006a11..92a7a0d4ee 100644
--- a/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
+++ b/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp
@@ -1995,8 +1995,8 @@ bool AArch64InstructionSelector::selectVectorAshrLshr(
 bool AArch64InstructionSelector::selectVaStartAAPCS(
     MachineInstr &I, MachineFunction &MF, MachineRegisterInfo &MRI) const {
 
-  if (STI.isCallingConvWin64(
-          MF.getFunction().getCallingConv(), MF.getFunction().isVarArg()))
+  if (STI.isCallingConvWin64(MF.getFunction().getCallingConv(),
+                             MF.getFunction().isVarArg()))
     return false;
 
   // The layout of the va_list struct is specified in the AArch64 Procedure Call

``````````

</details>


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


More information about the llvm-commits mailing list