Skip to content

Commit 502edeb

Browse files
committed
[ValueTypes][RISCV] Cap RVV fixed-length vectors by size
This patch changes RVV's policy for its supported list of fixed-length vector types by capping by vector size rather than element count. Now all 1024-byte vectors (of supported element types) are supported, rather than all 256-element vectors. This is a more natural fit for the architecture, and allows us to, for example, improve the support for vector bitcasts. This change necessitated the adding of some new simple types to avoid "regressing" on the number of currently-supported vectors. We round out the 1024-byte types by adding `v512i8`, `v1024i8`, `v512i16` and `v512f16`. Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D103884
1 parent c92f505 commit 502edeb

File tree

7 files changed

+493
-3254
lines changed

7 files changed

+493
-3254
lines changed

llvm/include/llvm/CodeGen/ValueTypes.td

Lines changed: 164 additions & 160 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)