diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-02-26 14:30:14 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-03-01 12:04:11 +0000 |
commit | 3fea9226eecd2069bea93c4fe5955b0b5ff316f7 (patch) | |
tree | e5bc16a8ad6079be4ac952a630793f501b61cd74 /llvm/lib/Support/StringMap.cpp | |
parent | e80ca3af82f8177a1b239bab6bb25d08ec86adeb (diff) | |
download | llvm-3fea9226eecd2069bea93c4fe5955b0b5ff316f7.zip llvm-3fea9226eecd2069bea93c4fe5955b0b5ff316f7.tar.gz llvm-3fea9226eecd2069bea93c4fe5955b0b5ff316f7.tar.bz2 |
[RISCV] Support INSERT_SUBVECTOR on vector masks
Like with EXTRACT_SUBVECTOR, INSERT_SUBVECTOR poses a problem
for vector masks as RVV isn't able to slide mask types around. We choose
instead to bitcast to equivalently-sized i8 types where we can, else we
zero-extend, perform the operation, and truncate back down.
One test was left disabled due to a crash in the legalizer.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97559
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions