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

PredictableMemOpts: handle mark_dependence #77040

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

atrick
Copy link
Contributor

@atrick atrick commented Oct 15, 2024

Handle mark_dependence source and base promotion.

Needed to fix unsafeAddress without regressing any PredictableMemOpt tests. The goal is to allow mark_dependence to be used generally in diagnostic passes without otherwise affecting any behavior at -Onone.

This implementation is a stop-gap until the pass can be rewritten in Swift. But doing that will require changing the algorithm and making adaptations in other diagnostic passes. PredictableMemOpts has already become intractable and unmaintainable as-is. Any rewrite will need to drastically simplify the approach.

@atrick
Copy link
Contributor Author

atrick commented Oct 16, 2024

@swift-ci test

@atrick
Copy link
Contributor Author

atrick commented Oct 16, 2024

@swift-ci benchmark

@atrick
Copy link
Contributor Author

atrick commented Oct 16, 2024

@swift-ci test source compatibility

@atrick
Copy link
Contributor Author

atrick commented Oct 16, 2024

@swift-ci smoke test macOS

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.

1 participant