Skip to content

Commit fd73197

Browse files
arcbbbfhahn
andauthored
Update llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
Co-authored-by: Florian Hahn <[email protected]>
1 parent 9f1c301 commit fd73197

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
@@ -1858,7 +1858,7 @@ void VPVectorPointerRecipe ::execute(VPTransformState &State) {
18581858
// Use i32 for the gep index type when the value is constant,
18591859
// or query DataLayout for a more suitable index type otherwise.
18601860
const DataLayout &DL = Builder.GetInsertBlock()->getDataLayout();
1861-
Type *IndexTy = State.VF.isScalable() && (CurrentPart > 0)
1861+
Type *IndexTy = State.VF.isScalable() && CurrentPart > 0
18621862
? DL.getIndexType(Builder.getPtrTy(0))
18631863
: Builder.getInt32Ty();
18641864
Value *Ptr = State.get(getOperand(0), VPLane(0));

0 commit comments

Comments
 (0)