Skip to content

[TempRValueOpt] Invalidate insts when completing. #78682

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

Merged
merged 8 commits into from
Jan 27, 2025

Conversation

nate-chandler
Copy link
Contributor

Several small improvements pulled out of #78651 .

Separate the propagation of copies from the setup and cleanup.
Facilitates bailing after completing N subpasses.
Allow continueWithNextSubpassRun to take a SILValue.
Before each transformation is done, check whether to continue with the
next subpass.
Separate the hoisting of destroys from the setup and cleanup.
Facilitates bailing after completing N subpasses.
Move it to the lambda which it talks about.  The old location is in a
function which now enjoys multiple callers, and the comment applies to
only one.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci please test source compatibility

@nate-chandler
Copy link
Contributor Author

@swift-ci please apple silicon benchmark

Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

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

lgtm

@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler marked this pull request as ready for review January 17, 2025 02:34
@nate-chandler nate-chandler requested review from atrick and meg-gupta and removed request for jckarter January 17, 2025 02:34
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler merged commit 8c63134 into swiftlang:main Jan 27, 2025
6 of 8 checks passed
@nate-chandler nate-chandler deleted the rdar142636711_2 branch January 27, 2025 22:17
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.

3 participants