[llvm] [X86][AVX512] Use comx for compare (PR #113098)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 21 23:05:36 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:
@mahesh-attarde Did you investigate this?
https://github.com/llvm/llvm-project/pull/113098
More information about the llvm-commits
mailing list