Skip to content

Commit 9e96e1d

Browse files
committed
!fixup, add const.
1 parent b7eca73 commit 9e96e1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2382,7 +2382,7 @@ void VPlanTransforms::convertToConcreteRecipes(VPlan &Plan) {
23822382
void VPlanTransforms::handleUncountableEarlyExit(
23832383
VPlan &Plan, ScalarEvolution &SE, Loop *OrigLoop,
23842384
BasicBlock *UncountableExitingBlock, VPRecipeBuilder &RecipeBuilder,
2385-
VFRange &Range) {
2385+
const VFRange &Range) {
23862386
VPRegionBlock *LoopRegion = Plan.getVectorLoopRegion();
23872387
auto *LatchVPBB = cast<VPBasicBlock>(LoopRegion->getExiting());
23882388
VPBuilder Builder(LatchVPBB->getTerminator());

llvm/lib/Transforms/Vectorize/VPlanTransforms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct VPlanTransforms {
176176
Loop *OrigLoop,
177177
BasicBlock *UncountableExitingBlock,
178178
VPRecipeBuilder &RecipeBuilder,
179-
VFRange &Range);
179+
const VFRange &Range);
180180

181181
/// Lower abstract recipes to concrete ones, that can be codegen'd.
182182
static void convertToConcreteRecipes(VPlan &Plan);

0 commit comments

Comments
 (0)