[PATCH] D28308: [SCEV] Model ashr(shl(x, n), m) as mul(x, 2^(n-m)) when n > m
Z. Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 17:10:49 PST 2017
zzheng updated this revision to Diff 83901.
zzheng added a comment.
Added check for edge conditions.
Repository:
rL LLVM
https://reviews.llvm.org/D28308
Files:
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/sext-mul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28308.83901.patch
Type: text/x-patch
Size: 6186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/e17f8e8e/attachment.bin>
More information about the llvm-commits
mailing list