[llvm] [X86][BF16] Improve vectorization of BF16 (PR #88486)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 12 01:30:32 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 a5ed14bc8e122fa5ac0aa81f8d8390931bd6b4e4 c6ff7c6c9918db6d79007858e601b37066ec0ff3 -- llvm/lib/Target/X86/X86ISelLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index f66e6dcf9e..bd23bcffad 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -56534,7 +56534,6 @@ static SDValue combineFP_EXTEND(SDNode *N, SelectionDAG &DAG,
if (Subtarget.hasFP16())
return SDValue();
-
if (!SrcVT.isVector() || SrcVT.getVectorElementType() != MVT::f16)
return SDValue();
``````````
</details>
https://github.com/llvm/llvm-project/pull/88486
More information about the llvm-commits
mailing list