Skip to content
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

Validate that we have no crossblock liveness #3550

Merged
merged 7 commits into from
Apr 8, 2024

Conversation

alyssarosenzweig
Copy link
Collaborator

@alyssarosenzweig alyssarosenzweig commented Apr 2, 2024

Depends on #3548 obviously.

Now that we no longer have cross-block liveness anywhere, we should validate this invariant so it stays true. We'll take advantage of this for the new RA. This validation encountered a few places where cross-block liveness slipped thru the tracks, the first few patches here fix them.

This probably needs real games testing with ASSERTION_ENABLED.

@alyssarosenzweig alyssarosenzweig changed the title WIP: Validate that we have no crossblock liveness Validate that we have no crossblock liveness Apr 2, 2024
this ensures we put the StoreNZCV in the right block, which will fix validation
fails later in the series.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
didn't fix this hard enough before. caught by validation.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Now that we have successfully eliminated crossblock liveness from the IR we
generate, validate as much to ensure it doesn't come back. We will take
advantage of this new invariant in RA in the future.

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
@Sonicadvance1 Sonicadvance1 merged commit e91e1d5 into FEX-Emu:main Apr 8, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants