diff options
author | Luke Lau <luke@igalia.com> | 2023-09-21 13:55:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 13:55:49 +0100 |
commit | b5ff71e261b637ab7088fb5c3314bf71d6e01da7 (patch) | |
tree | 085ce85145fbf08dd4e4d536fca9b62beb712fa3 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 3fa503582315f23f187a019f026c5fce59b3f3d8 (diff) | |
download | llvm-b5ff71e261b637ab7088fb5c3314bf71d6e01da7.zip llvm-b5ff71e261b637ab7088fb5c3314bf71d6e01da7.tar.gz llvm-b5ff71e261b637ab7088fb5c3314bf71d6e01da7.tar.bz2 |
[RISCV] Shrink vslideup's LMUL when lowering fixed insert_subvector (#65997)
Similar to #65598, if we're using a vslideup to insert a fixed length
vector into another vector, then we can work out the minimum number of
registers it will need to slide up across given the minimum VLEN, and
shrink the type operated on to reduce LMUL accordingly.
This is somewhat dependent on #66211 , since it introduces a subregister
copy that triggers a crash with -early-live-intervals in one of the
tests.
Stacked upon #66211
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions