[SROA] Fix the loop exit placement to be prior to indexing the splits
[oota-llvm.git] / lib / Transforms / Scalar / EarlyCSE.cpp
index 6f166b8ee7fae628b1df39f2de7e21dc26bab9f5..cd2ecad4a18fd4c6a57d4d7a1220e127893d011f 100644 (file)
@@ -546,7 +546,7 @@ bool EarlyCSE::processNode(DomTreeNode *Node) {
           Changed = true;
           ++NumDSE;
           LastStore = nullptr;
-          continue;
+          // fallthrough - we can exploit information about this store
         }
 
         // Okay, we just invalidated anything we knew about loaded values.  Try