llvm-project
1306a783 - [RISCV] Fix scalable expandload lowering for i8 types (#225141)

Commit
62 days ago
[RISCV] Fix scalable expandload lowering for i8 types (#225141) This PR adds tests for scalable expandload/compressstore intrinsics, and also fixes a crash where we tried to query getVectorNumElements on a scalable vector for i8 element types. We need to use vrgatherei16 when VLMAX may exceed 255, so compute this for scalable vectors based off of getRealMaxVLen. This is in preparation for compress pattern vectorization support in https://github.com/llvm/llvm-project/pull/214491
Author
Parents
Loading