diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-02-26 14:46:23 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-03-01 11:51:05 +0000 |
commit | e80ca3af82f8177a1b239bab6bb25d08ec86adeb (patch) | |
tree | 1790584409ae3c950ad5fbc7545654c4aec15020 /llvm/lib/Support/StringMap.cpp | |
parent | 4ea734e6ec9da0587da733424fe616b7e401cf8c (diff) | |
download | llvm-e80ca3af82f8177a1b239bab6bb25d08ec86adeb.zip llvm-e80ca3af82f8177a1b239bab6bb25d08ec86adeb.tar.gz llvm-e80ca3af82f8177a1b239bab6bb25d08ec86adeb.tar.bz2 |
[RISCV] Fix INSERT/EXTRACT_SUBVECTOR on fractional LMUL types
This patch fixes a bug where the lowering for INSERT_SUBVECTOR and
EXTRACT_SUBVECTOR would insist on first extracting a register-aligned
LMUL1 vector type before perfoming the slide up/down. This was even if
the vector was a fractional LMUL type, in which case the aligned
EXTRACT_SUBVECTOR was invalid.
This issue only occurred for scalable vector types, but a variety of
tests for both scalable and fixed-length vectors have been added to
ensure this does not regress in the future.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97556
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions