dotnet / jitutils

MIT License
150 stars 60 forks source link

Add --crossgen-optlevel, --crossgen-mibc options #350

Open EgorBo opened 2 years ago

EgorBo commented 2 years ago

This PR adds two options to jit-dasm:

--crossgen-optlevel - it's useful to either disable opts for crossgen or enable -Ot (prefer performance) where we use the ExtendedDefaultPolicy inliner (more aggressive, the one that is used for JIT). Default is -O (mixed)

--crossgen-mibc - path to an mibc file to consume pgo data.

PTAL @dotnet/jit-contrib