<div dir="ltr">Ping<div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Eli Bendersky</b> <span dir="ltr"><<a href="mailto:eliben@google.com">eliben@google.com</a>></span><br>
Date: Thu, Jun 27, 2013 at 3:57 PM<br>Subject: [PATCH] CodeGen target hook for emitting intrinsic or libcall for pow*<br>To: llvm cfe <<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a>><br><br><br>
<div dir="ltr">Hello,<div><br></div><div>Without fmath-errno, Clang currently generates calls to @llvm.pow.* intrinsics when it sees pow*(). This may not be suitable for all targets (for example PNaCl), so the attached patch adds a target hook that CodeGen queries. The target can state its preference for having or not having the intrinsic generated. Non-PNaCl behavior remains unchanged; PNaCl-specific test added.</div>

<div><br></div><div>Please take a look,</div><div><br></div><div>Eli</div><div><br></div></div>
</div><br></div></div>