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

[RISCV][TTI] Cost a subvector extract at a register boundary with exact vlen (#82405)

If we have exact vlen knowledge, we can figure out which indices
correspond to register boundaries. Our lowering uses this knowledge to
replace the vslidedown.vi with a sub-register extract. Our costs can
reflect that as well.

This is another piece split off
https://github.com/llvm/llvm-project/pull/80164



---------

Co-authored-by: default avatarLuke Lau <luke_lau@icloud.com>
parent b49f155c
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