Uh oh!
There was an error while loading. Please reload this page.
[release/7.0] [mono][aot] Fixed decompose_flag propagation issues - #79855
Conversation
lambdageek
commented
Dec 20, 2022
@jandupej please fill in the template and email tactics |
SamMonoRT
commented
Dec 20, 2022
He's validating manually and will update the text, email later. Might not happen till after the holidays, so removing the tags for now |
carlossanlop
commented
Jan 4, 2023
@SamMonoRT@jandupej friendly reminder to fill out the template / add |
jandupej
commented
Jan 5, 2023
Build failures are unrelated to this PR. |
SamMonoRT
commented
Jan 6, 2023
Approved via email. Marking as servicing-approved cc @carlossanlop |
carlossanlop
commented
Jan 6, 2023
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
Typeand 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.