[llvm] [RISCV][GlobalISel] Legalize Scalable Vector Loads and Stores (PR #84965)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 27 11:58:19 PDT 2024
================
@@ -249,7 +249,15 @@ RISCVLegalizerInfo::RISCVLegalizerInfo(const RISCVSubtarget &ST)
.legalForTypesWithMemDesc({{s32, p0, s8, 8},
{s32, p0, s16, 16},
{s32, p0, s32, 32},
- {p0, p0, sXLen, XLen}});
+ {p0, p0, sXLen, XLen},
----------------
topperc wrote:
Shouldn't be sXLen, but we do need s64 when ST.hasVInstructionsI64() is true.
nxv1s8 shouldn't be supported unless getELEN() == 64. Same as the type legality rules for G_ADD.
https://github.com/llvm/llvm-project/pull/84965
More information about the llvm-commits
mailing list