Compile methods in canon form only (#36011)
authorDavid Wrighton <davidwr@microsoft.com>
Fri, 8 May 2020 00:11:28 +0000 (17:11 -0700)
committerGitHub <noreply@github.com>
Fri, 8 May 2020 00:11:28 +0000 (17:11 -0700)
commit196080817a61a82fa98a66c0e63fa4df79c11b7e
treee66b47fbed20ee5155c2ef0f8ba2de95d54117f3
parentb48900f3b37e6d68b5d84a3e48f0c5beb602a128
Compile methods in canon form only  (#36011)

* Compile methods in canon form only
- The previous logic would compile methods that were not in canonical form
- These methods would never be used by the runtime, and contributed 70MB to a 170MB composite image

- Also fix incorrect intrinsics count value
src/coreclr/src/tools/Common/JitInterface/CorInfoImpl.Intrinsics.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRunCodegenNodeFactory.cs