[cfe-dev] Different results between O1 flag and O1 passes entered manually

Peter Conn conn.peter at gmail.com
Mon May 26 02:08:50 PDT 2014


Hello,

I'm compiling my C code to IR, using opt and then compiling into a binary.
I'm getting different runtimes when I use 'opt -O1' and when I use 'opt
-debug-pass=Arguments' and then copy the list of flags into opt. Why could
this be?

Essentially I'm trying to track down which optimizations cause a speedup
(so I extracted the list of optimizations and am running opt repeatedly
with individual optimizations removed).

Thanks,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140526/317dc7ba/attachment.html>


More information about the cfe-dev mailing list