[llvm] [AArch64][SVE] Use SVE for scalar FP converts in streaming[-compatible] functions (PR #112564)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 08:19:34 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 cd0373e029fdca7d6d99677b805e728016574a1f 3376b1088282719ac4f2d4ebc7cb237ee3ee79cb --extensions cpp -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````
</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 cec5f9eff5..0acb279b65 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -18962,7 +18962,7 @@ tryReplaceScalarFPConversionWithSVE(SDNode *N, SelectionDAG &DAG,
if (N->isStrictFPOpcode())
return SDValue();
- auto isSupportedType = [](EVT VT) {
+ auto isSupportedType = [](EVT VT) {
if (!VT.isSimple())
return false;
// There are SVE instructions that can convert to/from all pairs of these
``````````
</details>
https://github.com/llvm/llvm-project/pull/112564
More information about the llvm-commits
mailing list