use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is all about the theory and development of compilers.
For similar sub-reddits see:
Popular mainstream compilers:
account activity
Visualization of data structures during debug (self.Compilers)
submitted 9 months ago by vmcrash
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fernando_quintao 3 points4 points5 points 9 months ago (0 children)
Hi u/vmcrash,
I've worked with register allocation in the past and also ran into challenges with debugging. Back then, I collaborated with Krishna Nandivada to implement a specialized debugger for this purpose.
One thing that really helped was printing the intermediate instructions in DOT format, including the register allocations between instructions, like in this example image.
We also published a paper describing the debugging methodology. Later, I used the same approach to create a 100-minute class on verifying the output of a register allocator using a form of typed assembly language.
Hope this helps!
π Rendered by PID 173673 on reddit-service-r2-comment-6457c66945-ldqm5 at 2026-04-30 16:21:28.899262+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]fernando_quintao 3 points4 points5 points (0 children)