[llvm] [AArch64][GlobalISel] More FCmp legalization. (PR #78734)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 08:55:46 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);
----------------
tschuett wrote:
`moreElementsVector` does not exist for G_FCMP:
https://github.com/llvm/llvm-project/blob/d0d072710468316edbd4130e50f1146c5a6aca89/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp#L5317
https://github.com/llvm/llvm-project/pull/78734
More information about the llvm-commits
mailing list