Skip to content

Commit e31c300

Browse files
Sterling-Augustinevar-const
authored andcommitted
Fix build by marking possibly unused variable such. (llvm#135689) [NFC]
1 parent 54a6bde commit e31c300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ void VPlanTransforms::convertToConcreteRecipes(VPlan &Plan,
24142414
VectorStep = Builder.createWidenCast(CastOp, VectorStep, IVTy);
24152415
}
24162416

2417-
auto *ConstStep =
2417+
[[maybe_unused]] auto *ConstStep =
24182418
ScalarStep->isLiveIn()
24192419
? dyn_cast<ConstantInt>(ScalarStep->getLiveInIRValue())
24202420
: nullptr;

0 commit comments

Comments
 (0)