[llvm] [AArch64][GlobalISel] Legalize BSWAP for Vector Types (PR #80036)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 30 09:14:16 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 a7cfff8dc6b38e54c6c5adee3b4b781f1090ee25 6d62e90a358e695a86491589adc416904cda1a28 -- llvm/lib/CodeGen/SelectionDAG/TargetLowering.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/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
index b0732d4fd3..700597bebf 100644
--- a/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+++ b/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
@@ -1230,7 +1230,7 @@ bool AArch64LegalizerInfo::legalizeCustom(
case TargetOpcode::G_PREFETCH:
return legalizePrefetch(MI, Helper);
}
-
+
llvm_unreachable("expected switch to return");
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/80036
More information about the llvm-commits
mailing list