File tree 1 file changed +3
-5
lines changed
llvm/lib/Transforms/Vectorize
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -2992,13 +2992,11 @@ class VPlan {
2992
2992
Value2VPValue[V] = VPV;
2993
2993
}
2994
2994
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) {
2998
2997
assert (V && " Trying to get the VPValue of a null Value" );
2999
2998
assert (Value2VPValue.count (V) && " Value does not exist in VPlan" );
3000
- assert ((Value2VPValueEnabled || OverrideAllowed ||
3001
- Value2VPValue[V]->isLiveIn ()) &&
2999
+ assert ((Value2VPValueEnabled || Value2VPValue[V]->isLiveIn ()) &&
3002
3000
" Value2VPValue mapping may be out of date!" );
3003
3001
return Value2VPValue[V];
3004
3002
}
You can’t perform that action at this time.
0 commit comments