Skip to content

Commit 16df836

Browse files
committed
[VPlan] Mark hasVF & hasScalableVF as const (NFC).
1 parent 564b9b7 commit 16df836

File tree

1 file changed

+2
-2
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3669,8 +3669,8 @@ class VPlan {
36693669
VFs.insert(VF);
36703670
}
36713671

3672-
bool hasVF(ElementCount VF) { return VFs.count(VF); }
3673-
bool hasScalableVF() {
3672+
bool hasVF(ElementCount VF) const { return VFs.count(VF); }
3673+
bool hasScalableVF() const {
36743674
return any_of(VFs, [](ElementCount VF) { return VF.isScalable(); });
36753675
}
36763676

0 commit comments

Comments
 (0)