[llvm] [AArch64][GlobalISel] More FCmp legalization. (PR #78734)

David Green via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 24 09:54:38 PST 2024


================
@@ -566,8 +553,10 @@ AArch64LegalizerInfo::AArch64LegalizerInfo(const AArch64Subtarget &ST)
                    Ty.getElementType() != SrcTy.getElementType();
           },
           0, 1)
-      .clampNumElements(0, v2s32, v4s32)
-      .clampMaxNumElements(1, s64, 2);
+      .clampNumElements(1, v4s16, v8s16)
+      .clampNumElements(1, v2s32, v4s32)
+      .clampMaxNumElements(1, s64, 2)
+      .moreElementsToNextPow2(1);
----------------
davemgreen wrote:

Yeah I had added it, but it was still falling back due to the unsupported shifts. Now that those are in it's looking better.

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


More information about the llvm-commits mailing list