Skip to content

[Backport] [Oracle GraalVM] [GR-69950] Backport to 23.1: Restrict applicability of RemoveOpaqueValuePhase.#241

Merged
zakkak merged 1 commit intograalvm:masterfrom
bulasevich:GR-69950
Feb 13, 2026
Merged

[Backport] [Oracle GraalVM] [GR-69950] Backport to 23.1: Restrict applicability of RemoveOpaqueValuePhase.#241
zakkak merged 1 commit intograalvm:masterfrom
bulasevich:GR-69950

Conversation

@bulasevich
Copy link
Collaborator

@bulasevich bulasevich commented Dec 25, 2025

This PR backports:

Conflicts: Minor import section issue:

import jdk.graal.compiler.nodes.GraphState.StageFlag;
->
import org.graalvm.compiler.nodes.GraphState.StageFlag;

Closes: #237

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 25, 2025
@bulasevich bulasevich changed the title [GR-52596] Restrict applicability of RemoveOpaqueValuePhase. [Backport] [Oracle GraalVM] [GR-69950] Backport to 23.1: Restrict applicability of RemoveOpaqueValuePhase. Dec 25, 2025
@Karm
Copy link
Collaborator

Karm commented Dec 26, 2025

Hello @bulasevich, do you have any more intel on the PR than the diff itself? The original PR seems one of those with an empty body :-(

@bulasevich
Copy link
Collaborator Author

Hello @bulasevich, do you have any more intel on the PR than the diff itself? The original PR seems one of those with an empty body :-(

Hi Karm, I don’t have any additional info beyond the diff either. I read the changes that it formalize the phase ordering, RemoveOpaqueValuePhase is now constrained to run once and only after LOW_TIER_LOWERING. It makes sense. In general, tightening the ordering helps phases avoid interfering with each other.

Copy link
Collaborator

@simonis simonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Thanks.

Copy link
Collaborator

@zakkak zakkak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @bulasevich

@zakkak zakkak merged commit 2070dfb into graalvm:master Feb 13, 2026
12 checks passed
@zakkak zakkak added this to the 23.1.11 milestone Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backport] [Oracle GraalVM] [GR-69950] Backport to 23.1: Restrict applicability of RemoveOpaqueValuePhase.

5 participants