<div dir="ltr">Hi, <div><br></div><div>I have tried to find documentation about the optimization flags available in the current version of clang (ToT) without much success (both in the webpage, the manual, and google). Google always points me to: <a href="http://clang.llvm.org/docs/UsersManual.html">http://clang.llvm.org/docs/UsersManual.html</a> but I see no information there regarding optimization levels/flags (only for the visual studio emulation).<div>
<br></div><div>Does anyone have a link to this documentation?<div><br></div><div>I'm particularly interested in:</div><div>- which optimization flags are there and a description of what they do (e.g. -ffast-math),</div>
<div>- which optimization levels are there (e.g. O2) and which flags does each level enable,</div><div>- which potentially-useful llvm optimization options are there (e.g. <span style="color:rgb(0,0,0);background-color:rgb(255,255,204)">-mllvm -inline-threshold=value</span>) and a link to the llvm docs that describe them.</div>
<div><br></div><div>Bests,</div><div>Gonzalo BG</div></div></div></div>