================ @@ -5064,6 +5064,20 @@ SDValue TargetLowering::SimplifySetCC(EVT VT, SDValue N0, SDValue N1, } } + if (isOperationLegalOrCustom(ISD::IS_FPCLASS, N0.getValueType()) && ---------------- arsenm wrote: LGTM otherwise https://github.com/llvm/llvm-project/pull/67829