[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
Thu Mar 16 14:30:48 PDT 2017


zzheng updated this revision to Diff 92057.
zzheng added a comment.

addressed Sanjoy's comments


Repository:
  rL LLVM

https://reviews.llvm.org/D28308

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/sext-mul.ll
  test/Analysis/ScalarEvolution/sext-zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28308.92057.patch
Type: text/x-patch
Size: 9060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170316/963080f1/attachment.bin>


More information about the llvm-commits mailing list