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

[MemCpyOpt] Stop using callCapturesBefore() #110484

Closed
wants to merge 1 commit into from

Conversation

nikic
Copy link
Contributor

@nikic nikic commented Sep 30, 2024

After #110280 we use EarliestEscapeInfo, so callCapturesBefore() is mostly redundant. It can provide better results in some cases because EEI does an approximation across all captures. I hope that it's good enough in practice, as this is the last remaining user of callCapturesBefore(), so we'll be able to remove this API entirely.

After llvm#110280 we use EarliestEscapeInfo, so callCapturesBefore()
is mostly redundant. It can provide better results in some cases
because EEI does an approximation across all captures. I hope
that it's good enough in practice, as this is the last remaining
user of callCapturesBefore(), so we'll be able to remove this
API entirely.
@nikic
Copy link
Contributor Author

nikic commented Sep 30, 2024

Okay, it looks like the more precise analysis here does provide enough additional value to keep it...

@nikic nikic closed this Sep 30, 2024
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