Displaying 2 results from an estimated 2 matches for "cold1".
Did you mean:
col1
2017 Aug 15
2
[RFC] Enhance Partial Inliner by using a general outlining scheme for cold blocks
...switch statement splitting, though I
> don't know if it should really go into the partial inliner. This is
> splitting a switch statement into multiple switch statements if there are
> only a few cases that are actually hot.
>
> SWITCH1:
> switch(val) {
> HOT: ...
> COLD1: ...
> COLD2: ...
> ....
> COLDN: ...
> default: ...
> }
>
> would get transformed into:
>
>
> SWITCH1:
> switch(val) {
> HOT: ...
> default:
> br SWITCH2:
> }
>
> SWITCH2:
> switch(val) {
> COLD1: ...
> COLD2: ...
>...
2017 Aug 15
3
[RFC] Enhance Partial Inliner by using a general outlining scheme for cold blocks
Hi Jessica,
Thanks for the feedback.
I believe the existing partial inliner pass does use some common utilities
like the code extractor to do outlining. Is that what you're referring to?
I don't recall seeing any other passes that has outlining other than the
machine outliner, but I may have missed something.
I briefly looked at River's RFC and it seems he's mainly utilizing