[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 12:55:22 PST 2012


On Mon, Nov 26, 2012 at 11:38 AM, Stephen Canon <scanon at apple.com> wrote:
> -fno-builtin-pow, I would think.

Err, I think the issue is that he has a function implementing exp2 on
a platform like Windows, and the implementation is a call to pow().

-Eli



More information about the llvm-commits mailing list