Uh oh!
There was an error while loading. Please reload this page.
Add specific formatting string for SSA numbers - #76706
Conversation
Format all SSA numbers with the new `FMT_SSA` string. Currently, this is defined as `ssa%u`, which makes it easy to identify a string as an SSA number, as well as making it easy to search for this string throughout the JitDump.
ghost
commented
Oct 6, 2022
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsFormat all SSA numbers with the new Currently, this is defined as Examples:
|
BruceForstall
commented
Oct 6, 2022
@AndyAyersMS @dotnet/jit-contrib PTAL |
AndyAyersMS
commented
Oct 6, 2022
I kind of like the current
|
kunalspathak
commented
Oct 6, 2022
May be |
BruceForstall
commented
Oct 6, 2022
I'm very biased towards something that is context-free searchable. My peculiar preference is something that works with vi's default settings for the '*' and '#' search commands. |
kunalspathak
commented
Oct 6, 2022
Yep, and that's why I was suggesting to append with |
AndyAyersMS
commented
Oct 7, 2022
SSA no longer relevant once we get to LSRA, so it seems like this wouldn't be too much of a problem? Or we could use some other single char that we don't use when dumping flags, like |
BruceForstall
commented
Oct 10, 2022
It looks like we don't use
@AndyAyersMS Maybe you can describe more specifically what you don't like about We have some similar examples: statements: "STMT%05d", nodes: "N%03d", CSE: "CSE #%02u" (I'd prefer "cse%02u"). Even using "S%u" might be unique enough, but certainly isn't as obvious to the newcomer (to the JIT or phase). |
AndyAyersMS
commented
Oct 11, 2022
The ssa number on its own is not very interesting. We should always display it as a suffix of the var, eg |
BruceForstall
commented
Oct 25, 2022
I'm going to close this for now. |
Format all SSA numbers with the new
FMT_SSAstring.Currently, this is defined as
ssa%u, which makes it easy to identify a string as an SSA number, as well as making it easy to search for this string throughout the JitDump.Examples: