[llvm] [AArch64] Legalize fp128 scalars as libcalls for G_FCMP (PR #98452)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 11 23:32:07 PDT 2024


================
@@ -1120,6 +1263,12 @@ LegalizerHelper::libcall(MachineInstr &MI, LostDebugLocObserver &LocObserver) {
       return Status;
     break;
   }
+  case TargetOpcode::G_FCMP: {
+    LegalizeResult Status = createFCMPLibcall(MIRBuilder, MI, LocObserver);
+    if (Status != Legalized)
+      return Status;
+    break;
----------------
arsenm wrote:

Directly handle everything and return here 

https://github.com/llvm/llvm-project/pull/98452


More information about the llvm-commits mailing list