[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
Thu Aug 30 01:54:18 PDT 2018


fhahn updated this revision to Diff 163280.
fhahn marked an inline comment as done.
fhahn added a comment.

Add comment about how ExpoA == integer + 0.5 is detected.


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.163280.patch
Type: text/x-patch
Size: 7481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180830/408cfaf5/attachment.bin>


More information about the llvm-commits mailing list