[PATCH] D98222: [SCEV] Use trip count information to improve shift recurrence ranges

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 6 05:27:13 PDT 2021


uabelho added inline comments.


================
Comment at: llvm/lib/Analysis/ScalarEvolution.cpp:5678
+    return CR;
+  assert(L->getHeader() == P->getParent());
+  if (!L->contains(BO->getParent()))
----------------
uabelho wrote:
> I've seen this assertion fail when running
> ```
> opt -slsr
> ```
> I wrote
>  https://bugs.llvm.org/show_bug.cgi?id=49768
> about it.
I reopened
 https://bugs.llvm.org/show_bug.cgi?id=49768
due to the assertion triggering again for another
```
opt -slsr
```
case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98222



More information about the llvm-commits mailing list