[PATCH] D30840: [SCEV] Fix trip multiple calculation

Huihui Zhang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 16:52:10 PDT 2017


huihuiz updated this revision to Diff 92230.
huihuiz added a comment.

Update based on Sanjoy's suggestions.

Use 1U left shift with unsigned number.


Repository:
  rL LLVM

https://reviews.llvm.org/D30840

Files:
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/tripmultiple_calculation.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30840.92230.patch
Type: text/x-patch
Size: 5859 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/efcba98a/attachment.bin>


More information about the llvm-commits mailing list