[PATCH] D89847: [SCEV] Drop cached ranges of AddRecs after flag update

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 8 21:54:19 PST 2020


mkazantsev updated this revision to Diff 303751.
mkazantsev added a comment.

Added elaborate comment, added assert that we don't pessimize the flags.

For some reason, it's no longer helpimg srem.ll. There has been a lot of related patches merged, one of them broke it?


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

https://reviews.llvm.org/D89847

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89847.303751.patch
Type: text/x-patch
Size: 9189 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/21059ead/attachment.bin>


More information about the llvm-commits mailing list