<div dir="ltr">On 2 July 2013 12:00, Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
all of the advanced LLVM optimizations assume that the IR has already been<br>
cleaned up already by the less advanced optimizers.  Try running something<br>
like -sroa -instcombine -simplifycfg first.<br></blockquote><div></div></div><br></div><div class="gmail_extra">There could be a warning on more advanced optimizations if the pre-requisites haven't run (as per individual call). And maybe a way to force the dependencies to run regardless of the On level. Not sure how this dependency system would be constructed, though.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">--renato</div></div>