[llvm] [GlobalISel][AArch64] Tail call libcalls. (PR #74929)

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 9 04:05:51 PST 2023


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 a17671084db17bbe45d96024af30e172b350c66d 3336eefdb1c4e81e3b2377deaef5bf7b4e7d4de0 -- llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h llvm/lib/Target/ARM/ARMLegalizerInfo.cpp llvm/lib/Target/ARM/ARMLegalizerInfo.h llvm/lib/Target/Mips/MipsLegalizerInfo.cpp llvm/lib/Target/Mips/MipsLegalizerInfo.h llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.h llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.h llvm/unittests/CodeGen/GlobalISel/LegalizerHelperTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
index e1f6da96d1..65ba4d7dec 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -3852,7 +3852,7 @@ LegalizerHelper::lower(MachineInstr &MI, unsigned TypeIdx, LLT LowerHintTy) {
   case G_TRUNC:
     return lowerTRUNC(MI);
   GISEL_VECREDUCE_CASES_NONSEQ
-    return lowerVectorReduction(MI);
+  return lowerVectorReduction(MI);
   }
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list