[PATCH] D41229: [SCEV] Fix the movement of insertion point in expander. PR35406.
Sebastian Pop via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 14 17:31:31 PST 2017
sebpop accepted this revision.
sebpop added a comment.
This revision is now accepted and ready to land.
LGTM
================
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()))
----------------
or SCEVSDivExpr.
https://reviews.llvm.org/D41229
More information about the llvm-commits
mailing list