-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
codegen: cleanup gcstack call frames somewhat earlier #57410
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
Conversation
I noticed this on #57380 and thought we could just make it unconditional, the check doesn't save much but implemented it anyway if you want to keep it |
That doesn't look sound (this same bug), so I don't think we want that |
Oh, I see, that is just for final-lowering, deciding if the module contains anything we could lower. I think you'd need to add a |
Slightly reduces the amount of work these optimization passes need to do later, in most typical cases, and avoids putting an unknown call at the top of all of our functions, which can inhibit some optimizations of otherwise trivial functions. Fixes #57400
7e7f74f
to
7ff7964
Compare
Doesn't backport cleanly so some help with that would be appreciated. |
Slightly reduces the amount of work these optimization passes need to do later, in most typical cases, and avoids putting an unknown call at the top of all of our functions, which can inhibit some optimizations of otherwise trivial functions.
Fixes #57400