[PATCH] D68231: [SLC] Allow llvm.pow(x,2.0) -> x*x etc even if no pow() lib func
Tim Renouf via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 09:33:38 PDT 2019
tpr created this revision.
Herald added subscribers: llvm-commits, jvesely.
Herald added a project: LLVM.
Previously, SLC was disallowing those optimizations if TLI said there is
no pow() library function.
Change-Id: I01c461df3537760b4919422b5ad3a2f004eb4f0f
Repository:
rL LLVM
https://reviews.llvm.org/D68231
Files:
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-amdgcn.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68231.222451.patch
Type: text/x-patch
Size: 3438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/80e00b5a/attachment.bin>
More information about the llvm-commits
mailing list