Page MenuHomePhabricator

[RISCV] Create the correct mask type when lowering EXTRACT_VECTOR_ELT

Authored by frasercrmck on Fri, Sep 24, 8:33 AM.



This particular case was creating a VMSET_VL using the old
fixed-length type in order to pass a mask to other custom nodes
operating on the scalable container type. This kind of thing wasn't
caught for us; I only noticed when experimenting with odd-length
vectors, where it was trying to generate an invalid v3i1 MVT.

Diff Detail

Event Timeline

frasercrmck created this revision.Fri, Sep 24, 8:33 AM
frasercrmck requested review of this revision.Fri, Sep 24, 8:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptFri, Sep 24, 8:33 AM
This revision is now accepted and ready to land.Fri, Sep 24, 9:20 AM
This revision was landed with ongoing or failed builds.Mon, Sep 27, 1:54 AM
This revision was automatically updated to reflect the committed changes.