[llvm-commits] [PATCH] Instcombine: Don't optimize pow(2.0, x) -> exp2(x) if exp2 is unavailable

Eli Friedman eli.friedman at gmail.com
Mon Nov 26 18:18:13 PST 2012


On Mon, Nov 26, 2012 at 3:33 PM, Derek Schuff <dschuff at google.com> wrote:
> On Mon, Nov 26, 2012 at 1:02 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
>> On Mon, Nov 26, 2012 at 11:17 AM, Derek Schuff <dschuff at google.com> wrote:
>> The patch is fine, as far as it goes.  There are a bunch of related
>> issues here, if you're interested in trying to address them.
> What did you have in mind?
> As long as I'm in this code, I don't mind fixing some things, as long
> as the rabbit hole's not *too* deep :)

Every other call to EmitUnaryFloatFnCall is broken in the same way.

-Eli



More information about the llvm-commits mailing list