[mono] Do not generate impossible instantiations for constrained generics in Mono...
authorIvan Povazan <55002338+ivanpovazan@users.noreply.github.com>
Tue, 21 Jun 2022 15:28:40 +0000 (17:28 +0200)
committerGitHub <noreply@github.com>
Tue, 21 Jun 2022 15:28:40 +0000 (17:28 +0200)
commit3affc68d31fd4623efd9d4188f449a2b128574a1
tree75a982581b4442bebfe71fe9e3b66b2ecab0c005
parentf9999cc1aaa2be9fdc81e69f78c3771e6106d93c
[mono] Do not generate impossible instantiations for constrained generics in Mono AOT (#70838)

This change improves the AOTed code size by reducing the number of generated methods for generics.
Fixes https://github.com/dotnet/runtime/issues/54850
src/mono/mono/mini/aot-compiler.c