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

Sanjoy Das via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 24 13:16:23 PST 2017


sanjoy added inline comments.


================
Comment at: lib/Analysis/ScalarEvolution.cpp:6384
+          if (LoopForUser && L->contains(LoopForUser))
+            Worklist.push_back(I);
+        }
----------------
mkazantsev wrote:
> Do we want to check whether the instruction is already enqueued before we push it?
That's what the existing behavior is -- I'll prefer fixing it in a separate NFC change if you don't mind.


https://reviews.llvm.org/D39361





More information about the llvm-commits mailing list