[llvm] [X86][AVX512] Use comx for compare (PR #113098)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 02:32:21 PDT 2024
================
@@ -49520,6 +49520,15 @@ static SDValue combineCompareEqual(SDNode *N, SelectionDAG &DAG,
// FIXME: need symbolic constants for these magic numbers.
// 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.
----------------
phoebewang wrote:
Yes.
https://github.com/llvm/llvm-project/pull/113098
More information about the llvm-commits
mailing list