[llvm-commits] CVS: llvm/lib/Transforms/Utils/LoopSimplify.cpp
Chris Lattner
clattner at apple.com
Sun Apr 8 12:23:32 PDT 2007
> @@ -727,13 +700,14 @@
> {
> BasicBlock *OnePred = PredBlocks[0];
> unsigned i, e = PredBlocks.size();
> - for (i = 1; !DS.isReachable(OnePred); ++i) {
> + for (i = 1; !ETF.dominates(&OnePred->getParent()->getEntryBlock
> (), OnePred); ++i) {
This line looks long. Can you just add an 'isReachable' predicate to
ETForest?
-Chris
More information about the llvm-commits
mailing list