This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Remove riscv-v-fixed-length-vector-elen-max command line option.
ClosedPublic

Authored by craig.topper on Apr 8 2022, 11:59 AM.

Details

Summary

This was added before Zve extensions were defined. I think users
should use Zve32x or Zve32f now. Though we will lose support for limiting
ELEN to 16 or 8, but I hope no one was using that.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 8 2022, 11:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2022, 11:59 AM
craig.topper requested review of this revision.Apr 8 2022, 11:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 8 2022, 11:59 AM
craig.topper edited the summary of this revision. (Show Details)Apr 8 2022, 12:01 PM
frasercrmck accepted this revision.Apr 11 2022, 2:34 AM

Looks good, I don't think we need to careful with this backend option: deprecating or keeping it around but disabling it or somesuch.

llvm/test/CodeGen/RISCV/rvv/fixed-vectors-elen.ll
4–5

either doesn't mean anything here. Test that limiting ELEN through zve32 scalarizes, perhaps?

This revision is now accepted and ready to land.Apr 11 2022, 2:34 AM
This revision was landed with ongoing or failed builds.Apr 11 2022, 10:15 AM
This revision was automatically updated to reflect the committed changes.