[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 Mar 30 00:41:52 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()))
----------------
I've seen this assertion fail when running
```
opt -slsr
```
I wrote
 https://bugs.llvm.org/show_bug.cgi?id=49768
about it.


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