[llvm] [IR][RISCV] Remove @llvm.experimental.vp.splat (PR #171084)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 10:08:31 PST 2025


topperc wrote:

> > Do we need to add AutoUpgrade support for compatibility with old bitcode?
> 
> 
> 
> If we are to add this AutoUpgrade, what would we substitute the scalable vector version of this intrinsic with?
> 
> I can only think of store + zero-stride load, or multiple layers of vector.interleave

The VL doesn't matter so we should be able to use the splat idiom, insertelement+shufflevector.

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


More information about the llvm-commits mailing list