[llvm] [RISCV] Lower unmasked zero-stride vp.stride to a splat of one scalar load. (PR #97394)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 4 04:35:35 PDT 2024


wangpc-pp wrote:

> I gave this a try and it is possible to replace the strided intrinsics, PoC here: [main...lukel97:llvm-project:remove-riscv-masked-strided-intrinsics](https://github.com/llvm/llvm-project/compare/main...lukel97:llvm-project:remove-riscv-masked-strided-intrinsics)
> 
> The two main prerequsities were that we need to make `RISCVDAGToDAGISel::performCombineVMergeAndVOps` slightly smarter (#78565), and detect VLMAX EVL operands when lowering VP nodes to VL nodes

Quick move! 👍 
I think you can just create a PR for this. :-)

https://github.com/llvm/llvm-project/pull/97394


More information about the llvm-commits mailing list