LLVM IR influence on compiler debugging

Don Clugston dac at nospam.com
Fri Jun 29 02:27:19 PDT 2012


On 29/06/12 08:04, bearophile wrote:
> This is a very easy to read article about the design of LLVM:
> http://www.drdobbs.com/architecture-and-design/the-design-of-llvm/240001128
>
> That IR has a great effect on making it simpler to debug the compiler, I
> think this is important (and I think it partially explains why Clang was
> created so quickly):

It's a good design, especially for optimisation tests. Although I can't 
see an immediate application of this for D. DMD's backend is nearly 
bug-free. (By which I mean, it has 100X fewer bugs than the front-end).


More information about the Digitalmars-d mailing list