yetingk wrote: > Doesn't this fix a crash if the loaded elements have pointer type? Pointer types are not supported by getEVT or the the riscv_vmv_v_x intrinsic from the original code. Add ptr vector test case. https://github.com/llvm/llvm-project/pull/101329