llvm-project
d131b78e - [RISCV] Disable i1 fixed vectors with more than 1024 elements. (#133267)

Commit
1 year ago
[RISCV] Disable i1 fixed vectors with more than 1024 elements. (#133267) v2048i1 is an MVT, but v2048i8 is not so we don't support i8 vectors with more than 1024 elements. Lowering a v2048i1 shufflevector would requires promoting to v2048i8. Since v2048i8 isn't legal and isn't an MVT this leads to a crash. To fix the crash, this patch makes v2048i1 an illegal type.
Author
Parents
Loading