Open AndyAyersMS opened 1 year ago
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak See info in area-owners.md if you want to be subscribed.
Author: | AndyAyersMS |
---|---|
Assignees: | - |
Labels: | `area-CodeGen-coreclr`, `untriaged` |
Milestone: | - |
(summary of an idea Bruce and I were discussing)
If you add new calls to
fgRenumberBlocks
you can observe diffs, sometimes radically large ones. This likely means that there is code in the jit that is depending onbbNum
without ensuring thatbbNum
has a stable or intended meaning.We should adopt the discipline that jit behavior that depends on
bbNum
be required to establish validbbNums
first. One way to do this is:fgRenumberBlocks
to the pre or post phase list, enabling for phases back to frontbbNums