[LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang

dag at cray.com dag at cray.com
Mon Jan 14 10:38:27 PST 2013


Renato Golin Linaro <renato.golin at linaro.org> writes:

> I don't think you really need a performing debug image, though.

Oh, you'd be surprised.  We have hit many cases where debugging a
completely unoptimized program is so slow it's not worth doing.  Think
about large parallel codes with millions of threads running on hundreds
of thousands of sockets.

Debugging even minimally optimized code can be a huge productivity win.
Plus optimization tends to expose things like race conditions in
parallel codes.

                             -David



More information about the llvm-dev mailing list