[llvm] [RISCV] Optimize divide by constant for VP intrinsics (PR #125991)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 20:40:02 PST 2025


topperc wrote:

> > > @lukel97 if the vectorizer is moving away from using VP intrinsics, I guess we don't need this patch anymore?
> > 
> > 
> > IIUC, it it temporary? We may add it back in some day.
> 
> Users can also still write VP intrinsics by hand, I'm not sure how common this is though. 

I don't think it's common.

> Lifting InstCombine/DAGCombiner is still on the VP roadmap https://llvm.org/docs/Proposals/VectorPredication.html

RISC-V seems to be the only active development of VP intrinsics in tree. We the RISC-V community, should agree on what's important to us and prioritize where we spend effort.


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


More information about the llvm-commits mailing list