[PATCH] D63038: [SimplifyLibCalls] powf(x, sitofp(n)) -> powi(x, n)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 8 04:45:47 PDT 2019


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

Removed "isFast" requirement for powf(x, sitofp(n)) -> powi(x, n).
New: powf(x, C) -> powi(x, C) iff C is a constant integer value


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

https://reviews.llvm.org/D63038

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63038.203682.patch
Type: text/x-patch
Size: 7996 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190608/b69dc234/attachment.bin>


More information about the llvm-commits mailing list