[PATCH] D41229: [SCEV] Fix the movement of insertion point in expander. PR35406.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 19:43:52 PST 2017


skatkov added inline comments.


================
Comment at: lib/Analysis/ScalarEvolutionExpander.cpp:1739
+        return !SCEVExprContains(S, [](const SCEV *S) {
+                  if (const auto *D = dyn_cast<SCEVUDivExpr>(S)) {
+                    if (const auto *SC = dyn_cast<SCEVConstant>(D->getRHS()))
----------------
sebpop wrote:
> or SCEVSDivExpr.
There is no SCEVSDivExpr expression.


https://reviews.llvm.org/D41229





More information about the llvm-commits mailing list