[llvm] [X86][AVX512] Use comx for compare (PR #113098)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 20 11:43:55 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 8673d0e0673dd1a5e6f7a5df7509c45e33582987 28825606c5f538adb46eb354cf6eaacc9427fcbc --extensions cpp,inc -- llvm/lib/Target/X86/X86ISelLowering.cpp llvm/test/TableGen/x86-fold-tables.inc
``````````
</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 f6c34ccc4b..71983a7d7c 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -49521,8 +49521,8 @@ static SDValue combineCompareEqual(SDNode *N, SelectionDAG &DAG,
// See X86ATTInstPrinter.cpp:printSSECC().
unsigned x86cc = (cc0 == X86::COND_E) ? 0 : 4;
- // VCOMXSS simplifies conditional code sequence into single setcc node.
- // Earlier until COMI, it required upto 2 SETCC's to test CC.
+ // VCOMXSS simplifies conditional code sequence into single setcc
+ // node. Earlier until COMI, it required upto 2 SETCC's to test CC.
if (Subtarget.hasAVX10_2()) {
return getSETCC(
((cc0 == X86::COND_E) ? X86::COND_E : X86::COND_NE),
``````````
</details>
https://github.com/llvm/llvm-project/pull/113098
More information about the llvm-commits
mailing list