runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Reduce the JIT's work for the "fast compile" path by simplifying IR

Open pkukol opened this issue 10 years ago • 2 comments

Some IL constructs are currently expanded to generate faster code at the expense of larger IR / more temps / etc. For the "maximum compile speed / generated code quality is secondary" path some of these should be simplified to reduce the amount of work the compiler has to do (at the expense of the generated code being slightly slower). One specific example of this would be generic dictionary lookups, where the compiler could simply always generate code to invoke the runtime helper (see Compiler::impLookupToTree() and friends).

category:throughput theme:throughput skill-level:expert cost:extra-large

pkukol avatar Oct 03 '16 14:10 pkukol

See dotnet/coreclr#13305 for some attempt at doing this.

AndyAyersMS avatar May 04 '18 18:05 AndyAyersMS

I think this is worth re-evaluating as we still want to improve throughput.

TIHan avatar Nov 01 '23 21:11 TIHan