[LLVMdev] Some positive feedback :)
Chris Lattner
sabre at nondot.org
Wed Apr 30 21:48:09 PDT 2008
On Apr 30, 2008, at 9:42 PM, Talin wrote:
> I continue to be pleasantly surprised at how well LLVM works. Working
> with it is certainly a treat.
> After making a few tweaks to my code generator, it passed all of the
> tests...which was surprising enough. But then I turned on optimization
> -- and lo and behold, it converted every one of those asserts to
> "assert(1)", and completely eliminated everything else! If it had been
> able to inline the asserts (which I am still working on), it would
> have
> eliminated the body of main entirely.
>
> Now that's the kind of optimization I like to see :)
Awesome!
-Chris
More information about the llvm-dev
mailing list