[PATCH] D109845: [SCEV] Correctly propagate nowrap flags across scopes when folding invariant add through addrec

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 2 14:13:33 PDT 2021


reames updated this revision to Diff 376719.
reames added a comment.

Rebase over conceptual split introduced in 26223af <https://reviews.llvm.org/rG26223af256bb8f0aa1a82989882c81ffae44c6d1>.  Resulting code is much easier to follow and reason about.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109845/new/

https://reviews.llvm.org/D109845

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll
  llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
  llvm/test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll
  llvm/test/Analysis/ScalarEvolution/nsw-offset-assume.ll
  llvm/test/Analysis/ScalarEvolution/nsw-offset.ll
  llvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll
  llvm/test/Transforms/LoopIdiom/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109845.376719.patch
Type: text/x-patch
Size: 25821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211002/ca3bda80/attachment.bin>


More information about the llvm-commits mailing list