[PATCH] D109855: [LoopPredication] Report changes correctly when attempting loop exit predication

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 04:03:48 PDT 2021


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopPredication.cpp:1129
+  // only `true`!
   IP->moveBefore(WidenableBR);
   if (MSSAU)
----------------
Why don't we invalidate SCEV cache after it? I think it's a bug.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109855



More information about the llvm-commits mailing list