[llvm] [AArch64][GlobalISel] Generate libcall for s128 G_FPTRUNC (PR #96602)

Thorsten Schütt via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 00:52:34 PDT 2024


================
@@ -646,6 +646,7 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
 
   // FP conversions
   getActionDefinitionsBuilder(G_FPTRUNC)
+      .libcallIf(typeIs(1, s128))
----------------
tschuett wrote:

I would prefer `legalFor` as the first line.

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


More information about the llvm-commits mailing list