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

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 11:32:59 PDT 2020


nikic added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:5360
+    UnsignedRanges.erase(AddRec);
+    SignedRanges.erase(AddRec);
+  }
----------------
Could it happen that other ranges have been computed in the meantime, based on the now outdated addrec range?


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

https://reviews.llvm.org/D89847



More information about the llvm-commits mailing list