regalloc.rs icon indicating copy to clipboard operation
regalloc.rs copied to clipboard

Interface: allow specifying certain basic blocks as cold

Open Amanieu opened this issue 6 years ago • 1 comments

Basic block frequencies are currently estimated using loop depth, but sometimes the front-end knows certain code paths are almost never taken (e.g. error handling). It would be useful to be able to communicate this to the register allocator.

Amanieu avatar Jan 17 '20 12:01 Amanieu