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

Madhur Amilkanthwar via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 25 03:03:38 PDT 2024


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

Yes, that sounds better. It is `libcallFor`

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


More information about the llvm-commits mailing list