-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[release/7.0] [mono][aot] Fixed decompose_flag propagation issues #79855
Conversation
@jandupej please fill in the template and email tactics |
He's validating manually and will update the text, email later. Might not happen till after the holidays, so removing the tags for now |
@SamMonoRT @jandupej friendly reminder to fill out the template / add |
Build failures are unrelated to this PR. |
Approved via email. Marking as servicing-approved cc @carlossanlop |
Thanks for the ping, @SamMonoRT Approved by Tactics (7.0.3). |
Backport of #79849 to release/7.0
It has been reported in 79710 that Mono AOT can fail when compiling an assembly that contains a generic class with a method that returns
Type
and has a conditional structure./cc @jandupej
Customer Impact
This PR fixes the issue and allows successful builds of such assemblies.
Testing
We do not have a CI pipeline for this case. The issue can be replicated by building Mono for Android x64 and trying to compile the example specified in the issue 79710. AOT compilation will fail as described in the issue. AOT compilation will succeed when the fix is applied.
Risk
Low. This PR does not add features, only fixes a basic block flag propagation issue that causes the bug. Very little code is touched.
IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.