[PATCH] D99687: [SCEV] Compute ranges for ashr/lshr recurrences

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 31 14:26:51 PDT 2021


reames created this revision.
reames added reviewers: fhahn, mkazantsev, nikic.
Herald added subscribers: dantrushin, hiraditya, mcrosier.
Herald added a reviewer: bollu.
reames requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Straight forward extension to the recently added infrastructure which was pioneered with shl.

@reviewers - I always have trouble with wrapping arithmetic, so please sanity check my usage of ranges and reasoning.


https://reviews.llvm.org/D99687

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/shift-recurrences.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99687.334536.patch
Type: text/x-patch
Size: 7017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210331/95b7a277/attachment.bin>


More information about the llvm-commits mailing list