1. [RISCV] Cap legal fixed-length vectors to 256-element types (details)
  2. Require asserts for clang/test/Headers/wasm.c (details)
Commit cd6a52fedefe263565b81fbee9d5d3278e1e63cb by fraser
[RISCV] Cap legal fixed-length vectors to 256-element types

Previously, RISC-V would make legal all fixed-length vectors types whose
size are less than or equal to some function of the minimum value of
VLEN and the maximum-permissible LMUL grouping.

Due to vector legalization issues, this patch instead caps the legal
fixed-length vector types to those with 256 elements. This value was
chosen because it is the longest vector length which has corresponding
MVTs across all supported element types.

Reviewed By: craig.topper

Differential Revision:
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp
The file was modifiedllvm/test/CodeGen/RISCV/rvv/interleave-crash.ll
Commit 4f4aa7b78df5544b0a1c07ee98475939c1175990 by hans
Require asserts for clang/test/Headers/wasm.c

The test doesn't pass in no-asserts builds, see comment on
The file was modifiedclang/test/Headers/wasm.c