Skip to content

[WinEH] Track changes in WinEHPrepare pass #134121

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 1 commit into from
May 30, 2025

Conversation

aaronpuchert
Copy link
Member

Before this change, the pass would always claim to have changed IR if there is a scope-based personality function. We add some plumbing to track if there was an actual change.

This should be NFC, except that we might now preserve more analysis passes.

Before this change, the pass would always claim to have changed IR if
there is a scope-based personality function. We add some plumbing to
track if there was an actual change.

This should be NFC, except that we might now preserve more analysis
passes.
@aaronpuchert
Copy link
Member Author

Not sure what the effect is on compilation time, I just noticed that the pass would always report changes even when it did none while investigating #119959.

@aaronpuchert aaronpuchert requested a review from tentzen April 2, 2025 20:56
@aaronpuchert aaronpuchert requested review from aheejin and rnk and removed request for tentzen April 10, 2025 18:54
@aaronpuchert
Copy link
Member Author

Ping. Let me know if I have added the wrong reviewers.

Copy link
Member

@aheejin aheejin left a comment

Choose a reason for hiding this comment

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

Sorry for the delayed reply. I'm not the writer or owner of this pass but given that the change is small and no one has other opinions so far I think it should be OK to land % nit

@aaronpuchert aaronpuchert merged commit 73d6a48 into llvm:main May 30, 2025
12 checks passed
@aaronpuchert aaronpuchert deleted the wineh-track-changed branch May 30, 2025 13:52
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Jun 3, 2025
Before this change, the pass would always claim to have changed IR if
there is a scope-based personality function. We add some plumbing to
track if there was an actual change.

This should be NFC, except that we might now preserve more analysis
passes.
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