dag at cray.com
2013-Jan-14 18:38 UTC
[LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
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
Renato Golin Linaro
2013-Jan-14 19:04 UTC
[LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
On 14 January 2013 18:38, <dag at cray.com> wrote:> Debugging even minimally optimized code can be a huge productivity win. > Plus optimization tends to expose things like race conditions in > parallel codes. >That's what -O1 is for, isn't it? What I meant is that there is little need for an -O3-no-reorder optimization level. Maybe in extreme cases, but I wouldn't bet on it. cheers, --renato -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130114/4ecb11de/attachment.html>
dag at cray.com
2013-Jan-14 19:14 UTC
[LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
Renato Golin Linaro <renato.golin at linaro.org> writes:> What I meant is that there is little need for an -O3-no-reorder > optimization level. Maybe in extreme cases, but I wouldn't bet on it.Ah, I misunderstood. I completely agree with this. -David
Apparently Analagous Threads
- [LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
- [LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
- [LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
- [LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang
- [LLVMdev] [cfe-dev] RFC: Codifying (but not formalizing) the optimization levels in LLVM and Clang