<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 24, 2017, at 10:23 AM, David Jones <<a href="mailto:djones@xtreme-eda.com" class="">djones@xtreme-eda.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class="">How do you disable optimization for a function?<br class=""></div></div></div></div></blockquote><div>There is the optnone attribute (see <a href="http://llvm.org/docs/LangRef.html#function-attributes" class="">http://llvm.org/docs/LangRef.html#function-attributes</a> ). Passes will skip functions marked with that unless they are essential for code generation.</div><div><br class=""></div><div>- Matthias</div><div><br class=""></div></div></body></html>