[llvm] [X86][GlobalIsel] Support IS_FP_CLASS intrinsic 1/4 (PR #151084)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 1 22:01:02 PDT 2025
================
@@ -853,10 +857,236 @@ bool X86LegalizerInfo::legalizeGETROUNDING(MachineInstr &MI,
auto RetValTrunc = MIRBuilder.buildZExtOrTrunc(DstTy, RetVal);
MIRBuilder.buildCopy(Dst, RetValTrunc);
+ MI.eraseFromParent();
+ return true;
+}
+
+bool X86LegalizerInfo::expandFPClassTestForF32OrF64(
----------------
mahesh-attarde wrote:
Original version does not match with X86 outputs due SetCC combination, Algebraic Combination and CC rewrites.
While doing X86, I have created outputs those are close to DAG outputs.
https://github.com/llvm/llvm-project/pull/151084
More information about the llvm-commits
mailing list