[PATCH] D13994: [SimplifyLibCalls] Optimization for pow(x, n) where n is some constant
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 19 17:19:15 PST 2015
mgrang updated this revision to Diff 40724.
mgrang added a comment.
http://reviews.llvm.org/D14466 provides a variable (bool unsafeFPMath) to check for -fast-math. Made use of this in the check for fast-math.
Also updated comment for fast-math check.
Changed if (InnerChain[Exp] != nullptr) ==> if (InnerChain[Exp])
http://reviews.llvm.org/D13994
Files:
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/pow-4.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13994.40724.patch
Type: text/x-patch
Size: 6861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151120/a44349f5/attachment.bin>
More information about the llvm-commits
mailing list