[PATCH] D57434: Optimize pow(X, 0.75) to sqrt(X) * sqrt(sqrt(X))
Whitney via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 29 18:40:41 PST 2019
Whitney created this revision.
Whitney added reviewers: t.p.northover, javed.absar, evandro, fhahn, efriedma, lebedev.ri.
Herald added subscribers: llvm-commits, jsji, hiraditya, nemanjai.
There already exists an optimization which try to convert pow(X, 0.25) to sqrt(sqrt(x)). This patch extends it with pow(X, 0.75).
Repository:
rL LLVM
https://reviews.llvm.org/D57434
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/ARM/pow.75.ll
llvm/test/CodeGen/PowerPC/pow.75.ll
llvm/test/CodeGen/X86/pow.75.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57434.184230.patch
Type: text/x-patch
Size: 14368 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190130/c6521b8b/attachment.bin>
More information about the llvm-commits
mailing list