aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorPhilip Reames <preames@rivosinc.com>2024-02-21 07:56:08 -0800
committerGitHub <noreply@github.com>2024-02-21 07:56:08 -0800
commitf037e709cad410b885cb22ebb22e7e7539d41fb0 (patch)
treead64d6459a47412267ac8aa3fac033a7cfeacb75 /llvm/lib/IR/Module.cpp
parentb49f155cb9144b208b1291b5f02630d588350e1a (diff)
downloadllvm-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