[PATCH] D34025: [SCEV] Teach SCEVExpander to expand BinPow
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 02:17:14 PDT 2017
mkazantsev updated this revision to Diff 102303.
mkazantsev edited the summary of this revision.
mkazantsev added a comment.
Re-justified this as being an improvement, added a test where a linear calculation is replaced with a logarithmic one. I will make a separate patch to avoid creation of SCEVs with unreasonably huge numbers of operands.
https://reviews.llvm.org/D34025
Files:
lib/Analysis/ScalarEvolutionExpander.cpp
test/Transforms/LoopStrengthReduce/X86/bin_power.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34025.102303.patch
Type: text/x-patch
Size: 10905 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170613/171a8d67/attachment.bin>
More information about the llvm-commits
mailing list