diff options
author | Philip Reames <preames@rivosinc.com> | 2024-02-21 07:56:08 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-21 07:56:08 -0800 |
commit | f037e709cad410b885cb22ebb22e7e7539d41fb0 (patch) | |
tree | ad64d6459a47412267ac8aa3fac033a7cfeacb75 /llvm/lib/IR/Module.cpp | |
parent | b49f155cb9144b208b1291b5f02630d588350e1a (diff) | |
download | llvm-f037e709cad410b885cb22ebb22e7e7539d41fb0.zip llvm-f037e709cad410b885cb22ebb22e7e7539d41fb0.tar.gz llvm-f037e709cad410b885cb22ebb22e7e7539d41fb0.tar.bz2 |
[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: Luke Lau <luke_lau@icloud.com>
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions