We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1df78c commit edbd31aCopy full SHA for edbd31a
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -971,7 +971,8 @@ void VPWidenIntrinsicRecipe::execute(VPTransformState &State) {
971
// Some intrinsics have a scalar argument - don't replace it with a
972
// vector.
973
Value *Arg;
974
- if (isVectorIntrinsicWithScalarOpAtArg(VectorIntrinsicID, I.index()))
+ if (isVectorIntrinsicWithScalarOpAtArg(VectorIntrinsicID, I.index(),
975
+ State.TTI))
976
Arg = State.get(I.value(), VPLane(0));
977
else
978
Arg = State.get(I.value(), onlyFirstLaneUsed(I.value()));
0 commit comments