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 9f1c301 commit fd73197Copy full SHA for fd73197
llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
@@ -1858,7 +1858,7 @@ void VPVectorPointerRecipe ::execute(VPTransformState &State) {
1858
// Use i32 for the gep index type when the value is constant,
1859
// or query DataLayout for a more suitable index type otherwise.
1860
const DataLayout &DL = Builder.GetInsertBlock()->getDataLayout();
1861
- Type *IndexTy = State.VF.isScalable() && (CurrentPart > 0)
+ Type *IndexTy = State.VF.isScalable() && CurrentPart > 0
1862
? DL.getIndexType(Builder.getPtrTy(0))
1863
: Builder.getInt32Ty();
1864
Value *Ptr = State.get(getOperand(0), VPLane(0));
0 commit comments