[PATCH] D51435: [SLC] Support expanding pow(x, n+0.5) to x * x * ... * sqrt(x)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 29 14:42:33 PDT 2018


fhahn updated this revision to Diff 163194.
fhahn added a comment.

Thanks Evandro! Move code to create Sqrt intrinsic/libcall call to helper function and use it. Rename variable as suggested.


https://reviews.llvm.org/D51435

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51435.163194.patch
Type: text/x-patch
Size: 7287 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/f0d66ded/attachment.bin>


More information about the llvm-commits mailing list