Skip to content

[GR-68664] Disallow floating reads unless FloatingReadsPhase has been run #11942

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 2 commits into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

This PR makes handling of floating reads uniform. They are never introduced unless FloatingReadsPhase has been run. This only meaningful changes are in DefaultHotSpotLoweringProvider, where a few cases were still introducing FloatingReadNodes, and the use of FloatingReadsPhase during snippet preparation. Everything else is about propagating the GraphState into snippet preparation.

Benchmark results seem fine.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 12, 2025
@graalvmbot graalvmbot force-pushed the tkr-no-floating-reads branch from e20a13b to b17a358 Compare August 14, 2025 05:26
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.

2 participants