[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 11:43:12 PDT 2019
tpr updated this revision to Diff 222468.
tpr added a comment.
V2: Better fix that does not accidentally allow pow() transforms.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68231/new/
https://reviews.llvm.org/D68231
Files:
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-1.ll
test/Transforms/InstCombine/pow-3.ll
test/Transforms/InstCombine/pow-amdgcn.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68231.222468.patch
Type: text/x-patch
Size: 9497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/db14635e/attachment.bin>
More information about the llvm-commits
mailing list