[llvm] [GlobalISel][AArch64] Legalize G_ADD, G_SUB, G_AND, G_OR, and G_XOR for SVE (PR #110561)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 02:15:36 PDT 2024
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>,
Thorsten =?utf-8?q?Schütt?= <schuett at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/110561 at github.com>
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 61a456bd5ae88eeccc39b28a30be4eb03289446d f1d0b15734333f0c10277b8221dd20c40debb377 --extensions cpp,h -- llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
index 89de80f8a4..6d71c150c8 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
@@ -1230,8 +1230,8 @@ public:
assert(MinTy.getElementType() == MaxTy.getElementType() &&
"Expected element types to agree");
- assert((!MinTy.isScalableVector() && !MaxTy.isScalableVector())
- && "Unexpected scalable vectors");
+ assert((!MinTy.isScalableVector() && !MaxTy.isScalableVector()) &&
+ "Unexpected scalable vectors");
const LLT EltTy = MinTy.getElementType();
return clampMinNumElements(TypeIdx, EltTy, MinTy.getNumElements())
``````````
</details>
https://github.com/llvm/llvm-project/pull/110561
More information about the llvm-commits
mailing list