[llvm] [AArch64][GlobalISel] Select *v1f16 for f16->s16 to_int_sat_gi (PR #154562)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 10:42:17 PDT 2025


================
@@ -879,8 +879,9 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
                  {v2s32, v2s32},
                  {v4s32, v4s32},
                  {v2s64, v2s64}})
-      .legalFor(HasFP16,
-                {{s32, s16}, {s64, s16}, {v4s16, v4s16}, {v8s16, v8s16}})
+      .legalFor(
----------------
davemgreen wrote:

We might run into problems with streaming compatible functions with them eventually.

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


More information about the llvm-commits mailing list