[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 16:16:02 PST 2015


davide updated this revision to Diff 39442.
davide added a comment.

Fix inverted logic.


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.39442.patch
Type: text/x-patch
Size: 4986 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151106/edda21cf/attachment.bin>


More information about the llvm-commits mailing list