RequiredVisitor::visitFromToPath to_tag_group null check

This commit is contained in:
James Cherry 2020-05-27 20:24:01 -07:00
parent c2ba9fa534
commit 6e6415f6e2
1 changed files with 1 additions and 1 deletions

View File

@ -3445,7 +3445,7 @@ RequiredVisitor::visitFromToPath(const Pin *,
const MinMax *req_min = min_max->opposite();
TagGroup *to_tag_group = sta_->search()->tagGroup(to_vertex);
// Check to see if to_tag was pruned.
if (to_tag_group->hasTag(to_tag)) {
if (to_tag_group && to_tag_group->hasTag(to_tag)) {
PathVertex to_path(to_vertex, to_tag, sta_);
Required to_required = to_path.required(sta_);
Required from_required = to_required - arc_delay;