3 ms·
Greedy Register Allocation in LLVM 3.0
- Rusky 15y agoI love reading about LLVM internals. It's exciting to see LLVM still making major algorithmic improvements to something as important as register allocation- it's a really nicely designed library both to use and to work on, and bringing the generated code's performance closer to compilers like GCC makes it even better.
- ThaddeusQuay2 15y agoDoes anyone know what software was used, to make those two allocator flowcharts, in the above blog entry?
- sparky 15y agoMy money's on powerpoint 2007 or later. Could also be visio.
- ThaddeusQuay2 15y agoThank you.
- sparky 15y agoI mocked up the first figure in PPT 2007 in about 5 minutes: http://mattj.me/llvm_ra_copycat.pptx http://mattj.me/llvm_ra_copycat.pptx http://mattj.me/llvm_ra_copycat.png http://mattj.me/llvm_ra_copycat.png http://mattj.me/llvm_ra_copycat.pdf http://mattj.me/llvm_ra_copycat.pdf The default font, drop shadow, and line spacing are not exactly the same (suggesting that these figs may have been created using e.g. Omnigraffle), but it's easy to make something that looks pretty similar. Not trying to be a shill here, I just think Powerpoint (07 and onwards) is underrated as a figure creation tool. I use it for all my academic papers, and have found it much less painful than Visio, Dia, xfig, and others with nice-looking vector (PDF) output. I don't know if there's a way to make Powerpoint do this out of the box, but I always throw figures through pdfcrop [1], then include them directly into my (pdf)latex source. [1] http://pdfcrop.sourceforge.net/ http://pdfcrop.sourceforge.net/
- ThaddeusQuay2 15y agoThanks! I didn't know about PDFCrop. Now I can wrestle those ridiculous margins out of academic papers.
- maximilian 15y agoIt looks like Omnigraffle, which runs on OS X. Given that llvm is mostly sponsored by Apple, I could imagine a lot of the devs are running OS X. I used a bit back in college and I remember the shadowed boxes looking like that. I especially liked it because it generates vector graphics for inclusion in LaTeX documents.
- ThaddeusQuay2 15y agoThank you.
- lootabooga 15y agoLooks like Omnigraffle's output. "Given that llvm is mostly sponsored by Apple, I could imagine a lot of the devs are running OS X. " Well, in most developer conferences I've been most of the devs (and the audience) are running OS X anyways, without Apple being involved. Even in the Java ones (despite Java not that welcome on OS X the last couple of years). Even more so for the RoR guys...