[PATCH] D91325: [IndVarSimplify] Notify top most loop to drop cached exit counts

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 20:47:30 PST 2020


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1781
     // Given we've changed exit counts, notify SCEV
     SE->forgetLoop(L);
   }
----------------
As a follow-up, could you please also replace this to `forgetTopmostLoop`? Might be causing same type of problem I guess.


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

https://reviews.llvm.org/D91325



More information about the llvm-commits mailing list