[PATCH] D39361: [SCEV] A different fix for PR33494

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 31 12:09:36 PDT 2017


mkazantsev added inline comments.


================
Comment at: lib/Analysis/ScalarEvolution.cpp:6384
+          if (LoopForUser && L->contains(LoopForUser))
+            Worklist.push_back(I);
+        }
----------------
Do we want to check whether the instruction is already enqueued before we push it?


https://reviews.llvm.org/D39361





More information about the llvm-commits mailing list