[llvm] [LV, VP]VP intrinsics support for the Loop Vectorizer (PR #76172)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 13:53:16 PST 2024


alexey-bataev wrote:

> > Instruction::Add still does not work, crashes the compiler because this VPInstruction returns that it "does not use only first lane".
> 
> Can you push that commit somewhere so I can have a look? Looks like only-first-lane-used analysis might need some additional info.

Just replace VPInstruction::ExplicitVectorLengthIVIncrement with Instruction::Add in lib/Transforms/Vectorize/VPlanTransforms.cpp, line 1273

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


More information about the llvm-commits mailing list