================ @@ -9252,7 +9257,9 @@ LegalizerHelper::lowerISFPCLASS(MachineInstr &MI) { } appendToRes(NormalRes); } - + if (isInverted) { + Res = MIRBuilder.buildNot(DstTy, Res); + } ---------------- arsenm wrote: Don't need braces https://github.com/llvm/llvm-project/pull/133403