News for hackers. Stuff that matters.
Re:Greedy Register Allocation in LLVM 3.0 by Rusky on Monday September 19, 2011 @08:13AM (#3013208)
I 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.
Re:Greedy Register Allocation in LLVM 3.0 by danssig on Monday September 19, 2011 @10:22AM (#3013642)
I thought it had already largely surpassed GCC?
Re:Greedy Register Allocation in LLVM 3.0 by zmanji on Monday September 19, 2011 @10:39AM (#3013696)
It may have largely surpassed GCC in terms of how easy it is to integrate and compilation speed, but in quality of generated code it is lagging.
Re:Greedy Register Allocation in LLVM 3.0 by ThaddeusQuay2 on Monday September 19, 2011 @12:39PM (#3014209)
Does anyone know what software was used, to make those two allocator flowcharts, in the above blog entry?
Re:Greedy Register Allocation in LLVM 3.0 by maximilian on Monday September 19, 2011 @01:47PM (#3014476)
It 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.
Re:Greedy Register Allocation in LLVM 3.0 by ThaddeusQuay2 on Monday September 19, 2011 @02:11PM (#3014578)
Thank you.
Re:Greedy Register Allocation in LLVM 3.0 by sparky on Monday September 19, 2011 @01:31PM (#3014404)
My money's on powerpoint 2007 or later. Could also be visio.
Re:Greedy Register Allocation in LLVM 3.0 by sparky on Monday September 19, 2011 @03:34PM (#3014920)
I 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.png 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/

Re:Greedy Register Allocation in LLVM 3.0 by ThaddeusQuay2 on Tuesday September 20, 2011 @03:27PM (#3019197)
Thanks! I didn't know about PDFCrop. Now I can wrestle those ridiculous margins out of academic papers.