[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 01:03:51 PDT 2024


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

Could it be a list: `.libcall({{s16, s128}, {s32, s128}, {s64, s128}})`.

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


More information about the llvm-commits mailing list