[PATCH] D14400: [SimplifyLibCalls] Tranform log(pow(x, y)) -> y*log(x)

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 5 15:42:42 PST 2015


davide created this revision.
davide added reviewers: majnemer, scanon, escha, resistor.
davide added a subscriber: llvm-commits.

This also applies to log2, log10.

http://reviews.llvm.org/D14400

Files:
  include/llvm/Transforms/Utils/SimplifyLibCalls.h
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/log-pow-nofastmath.ll
  test/Transforms/InstCombine/log-pow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14400.39430.patch
Type: text/x-patch
Size: 4986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151105/96f95663/attachment.bin>


More information about the llvm-commits mailing list