[PATCH] D106327: [SCEV] Fix bug involving zero step and non-invariant RHS in trip count logic

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 18:05:51 PDT 2021


efriedma added a comment.

Like I noted on the other review, I think you also need the `isLoopInvariant(RHS, L)` check if the stride is negative.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106327



More information about the llvm-commits mailing list