Skip to content

Commit 5ab86ef

Browse files
committed
[VPlan] Remove unused OverrideAllowed arg from getVPValue (NFCI).
1 parent 2b184c8 commit 5ab86ef

File tree

1 file changed

+3
-5
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+3
-5
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2992,13 +2992,11 @@ class VPlan {
29922992
Value2VPValue[V] = VPV;
29932993
}
29942994

2995-
/// Returns the VPValue for \p V. \p OverrideAllowed can be used to disable
2996-
/// /// checking whether it is safe to query VPValues using IR Values.
2997-
VPValue *getVPValue(Value *V, bool OverrideAllowed = false) {
2995+
/// Returns the VPValue for \p V.
2996+
VPValue *getVPValue(Value *V) {
29982997
assert(V && "Trying to get the VPValue of a null Value");
29992998
assert(Value2VPValue.count(V) && "Value does not exist in VPlan");
3000-
assert((Value2VPValueEnabled || OverrideAllowed ||
3001-
Value2VPValue[V]->isLiveIn()) &&
2999+
assert((Value2VPValueEnabled || Value2VPValue[V]->isLiveIn()) &&
30023000
"Value2VPValue mapping may be out of date!");
30033001
return Value2VPValue[V];
30043002
}

0 commit comments

Comments
 (0)