[PATCH] D64099: [InstCombine] pow(C,x) -> exp2(log2(C)*x)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 06:52:04 PDT 2019


xbolva00 updated this revision to Diff 207781.
xbolva00 added a comment.

Fold log2 "manually".


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64099/new/

https://reviews.llvm.org/D64099

Files:
  lib/Transforms/Utils/SimplifyLibCalls.cpp
  test/Transforms/InstCombine/pow-exp.ll
  test/Transforms/InstCombine/pow_fp_int.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64099.207781.patch
Type: text/x-patch
Size: 11719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190703/f1b55cbd/attachment.bin>


More information about the llvm-commits mailing list