[PATCH] D35851: [Dominators] Include infinite loops in PostDominatorTree
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 25 15:21:20 PDT 2017
kuhar added inline comments.
================
Comment at: lib/Transforms/Scalar/ADCE.cpp:265
+ if (isa<ReturnInst>(Info.Terminator)) {
+ DEBUG(dbgs() << "post-dom root child is not a return: " << BB->getName()
<< '\n';);
----------------
@dberlin: shouldn't this be:
> post-dom root child *is* a return
?
https://reviews.llvm.org/D35851
More information about the llvm-commits
mailing list