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

Evandro Menezes via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 12 16:03:41 PDT 2018


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

Allow splat vectors for trivial simplifications.


https://reviews.llvm.org/D49040

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49040.155297.patch
Type: text/x-patch
Size: 22430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180712/ea93bceb/attachment.bin>


More information about the llvm-commits mailing list