[PATCH] D44177: [JumpThreading] use InvalidBlocks to avoid unreachable regions
Sebastian Pop via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 7 06:48:21 PST 2018
sebpop accepted this revision.
sebpop added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/lib/Transforms/Scalar/JumpThreading.cpp:366
+ if (!DT.isReachableFromEntry(&BB))
+ InvalidBlocks.insert(&BB);
----------------
I would have called this bitmap UnreachableBlocks.
Repository:
rL LLVM
https://reviews.llvm.org/D44177
More information about the llvm-commits
mailing list