[PATCH] D48026: [ScopHelper] Provide support for recognising collective invariant loads

Philip Pfaffe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 21 06:43:35 PDT 2018


philip.pfaffe added inline comments.


================
Comment at: lib/Analysis/ScopDetection.cpp:1168
+              invariantLS.insert(Load);
+              break;
+            } else {
----------------
Why do you break on the first invariant load? Why not mark all hoistables in one go?


https://reviews.llvm.org/D48026





More information about the llvm-commits mailing list