Skip to content

[GR-68341] Fix handling of StageFlag.VECTOR_API_EXPANSION #11904

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ public String updateFromPreviousToString(GraphState previous) {
builder.append(valueStringAsDiff(previous.frameStateVerification, this.frameStateVerification, "Frame state verification: ", ", "));
builder.append(newFlagsToString(previous.futureRequiredStages, this.futureRequiredStages, "+", "Future required stages: "));
builder.append(newFlagsToString(this.futureRequiredStages, previous.futureRequiredStages, "-", ""));
builder.setLength(builder.length() - 2);
if (builder.length() > 1) {
builder.setLength(builder.length() - 2);
}
builder.append('}');
return builder.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,12 @@ public Optional<NotApplicable> notApplicableTo(GraphState graphState) {
return NotApplicable.unlessRunBefore(this, GraphState.StageFlag.HIGH_TIER_LOWERING, graphState);
}

@Override
public void updateGraphState(GraphState graphState) {
super.updateGraphState(graphState);
graphState.setAfterStage(GraphState.StageFlag.VECTOR_API_EXPANSION);
}

/**
* A "connected component" of macro nodes connected by input/usage relationships or through phi
* or proxy nodes.
Expand Down
Loading