[PATCH] D33228: [SCEV] Always sort AddRecExprs from different loops by dominance

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 10:42:57 PDT 2017


sanjoy accepted this revision.
sanjoy added a comment.
This revision is now accepted and ready to land.

lgtm!



================
Comment at: lib/Analysis/ScalarEvolution.cpp:643
+        assert(DT.dominates(RHead, LHead) &&
+               "No dominance between recurrencies used by one SCEV?");
+      return -1;
----------------
s/recurrencies/recurrences/


https://reviews.llvm.org/D33228





More information about the llvm-commits mailing list