[PATCH] CodeGen target hook for emitting intrinsic or libcall for pow*

Derek Schuff dschuff at google.com
Tue Jul 2 08:51:40 PDT 2013


LGTM, FWIW


On Mon, Jul 1, 2013 at 9:17 AM, Eli Bendersky <eliben at google.com> wrote:

> Ping
>
>
> ---------- Forwarded message ----------
> From: Eli Bendersky <eliben at google.com>
> Date: Thu, Jun 27, 2013 at 3:57 PM
> Subject: [PATCH] CodeGen target hook for emitting intrinsic or libcall for
> pow*
> To: llvm cfe <cfe-commits at cs.uiuc.edu>
>
>
> Hello,
>
> 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.
>
> Please take a look,
>
> Eli
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130702/800df9c0/attachment.html>


More information about the cfe-commits mailing list