diff options
author | Fraser Cormack <fraser@codeplay.com> | 2021-02-25 08:15:25 +0000 |
---|---|---|
committer | Fraser Cormack <fraser@codeplay.com> | 2021-03-01 11:20:09 +0000 |
commit | bd4d4216881d2ddba170808a8cd2f7b75cbc8de9 (patch) | |
tree | 2d634af1c7e53afd7d3d0821c6026d788b3553f3 /llvm/lib/Support/StringMap.cpp | |
parent | 1b04bdc2f3ffaa7a0e1e3dbdc3a0cd08f0b9a4ce (diff) | |
download | llvm-bd4d4216881d2ddba170808a8cd2f7b75cbc8de9.zip llvm-bd4d4216881d2ddba170808a8cd2f7b75cbc8de9.tar.gz llvm-bd4d4216881d2ddba170808a8cd2f7b75cbc8de9.tar.bz2 |
[RISCV] Support EXTRACT_SUBVECTOR on vector masks
This patch adds support for extracting subvectors from vector masks.
This can be either extracting a scalable vector from another, or a fixed-length
vector from a fixed-length or scalable vector.
Since RVV lacks a way to slide vector masks down on an element-wise
basis and we don't know the true length of the vector registers, in many
cases we must resort to using equivalently-sized i8 vectors to perform
the operation. When this is not possible we fall back and extend to a
suitable i8 vector.
Support was also added for fixed-length truncation to mask types.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D97475
Diffstat (limited to 'llvm/lib/Support/StringMap.cpp')
0 files changed, 0 insertions, 0 deletions