Page MenuHomePhabricator

[RISCV] Obey -riscv-v-fixed-length-vector-elen-max when lowering mask BUILD_VECTORs.

Authored by craig.topper on Jan 17 2022, 3:21 PM.



We may not be allowed to use vXiXLen vectors. Consult ELEN to
determine what is allowed. This will become even more important
when Zve32 is added.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 17 2022, 3:21 PM
craig.topper requested review of this revision.Jan 17 2022, 3:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 17 2022, 3:21 PM

Use Subtarget method directly. Will need to fold Zve into that function in a later patch.

arcbbb accepted this revision.Jan 19 2022, 1:29 AM

LGTM. Thanks!

This revision is now accepted and ready to land.Jan 19 2022, 1:29 AM
frasercrmck accepted this revision.Jan 19 2022, 2:25 AM

LGTM too, cheers

This revision was landed with ongoing or failed builds.Jan 19 2022, 10:48 AM
This revision was automatically updated to reflect the committed changes.