[PATCH] D44177: [JumpThreading] use InvalidBlocks to avoid unreachable regions

Brian Rzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 7 08:28:25 PST 2018


brzycki marked an inline comment as done.
brzycki added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:366
+    if (!DT.isReachableFromEntry(&BB))
+      InvalidBlocks.insert(&BB);
 
----------------
sebpop wrote:
> I would have called this bitmap UnreachableBlocks.
Good point, renaming.


Repository:
  rL LLVM

https://reviews.llvm.org/D44177





More information about the llvm-commits mailing list