[llvm] [DAGCombine] Fold setcc_eq infinity into is.fpclass (PR #67829)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 25 04:57:39 PDT 2023
================
@@ -5064,6 +5064,20 @@ SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1,
}
}
+ if (isOperationLegalOrCustom(ISD::IS_FPCLASS, N0.getValueType()) &&
----------------
arsenm wrote:
Can you add a DAG comment with the pattern, as is done in most places?
https://github.com/llvm/llvm-project/pull/67829
More information about the llvm-commits
mailing list