Skip to content

Commit f2b9253

Browse files
committed
Fix regression in test change
1 parent deb51fd commit f2b9253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ static InstructionCost getCostForIntrinsics(Intrinsic::ID ID,
18281828
ElementTy = toVectorizedTy(ElementTy, VF);
18291829
Tys.push_back(ElementTy);
18301830
}
1831-
RetTy = StructType::create(Tys);
1831+
RetTy = StructType::get(StructTy->getContext(), Tys);
18321832
} else if (VF.isVector())
18331833
RetTy = toVectorizedTy(RetTy, VF);
18341834
SmallVector<Type *> ParamTys;

0 commit comments

Comments
 (0)