[PATCH] D26154: [Reassociate] Skip analysis of dead code to avoid infinite loop.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 09:51:05 PDT 2016


davide added inline comments.


================
Comment at: lib/Transforms/Scalar/Reassociate.cpp:2182-2185
+    // Skip dead basic blocks.
+    if (RankMap.count(&*BI) == 0)
+      continue;
+
----------------
You may want to expand this comment a bit.


https://reviews.llvm.org/D26154





More information about the llvm-commits mailing list