[PATCH] D49040: [SLC] Simplify pow(x, 0.333...) to cbrt(x)

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 9 09:07:29 PDT 2018


evandro updated this revision to Diff 154620.
evandro added a comment.

Add a test case.


https://reviews.llvm.org/D49040

Files:
  llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h
  llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
  llvm/test/Transforms/InstCombine/pow-cbrt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49040.154620.patch
Type: text/x-patch
Size: 6773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180709/98874e59/attachment.bin>


More information about the llvm-commits mailing list