Unverified Commit e8a15eca authored by Philip Reames's avatar Philip Reames Committed by GitHub
Browse files

[RISCV] Prefer whole register loads and stores when VL=VLMAX (#75531)

If we're lowering a fixed length vector load or store which happens to
exactly VLEN in size (when VLEN is exactly known), we can use a whole
register load or store instead of the unit strided variants. This
doesn't require a vsetvli in some cases, allows additional flexibility
of vsetvli cases in others, and doesn't have a runtime dependency on the
value of VL.
parent 67aec2f5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment