[PATCH] D14526: Don't recompute LCSSA after loop-unrolling when possible.
hfinkel@anl.gov via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 11 21:37:50 PST 2015
hfinkel added inline comments.
================
Comment at: lib/Transforms/Utils/LoopUnroll.cpp:229
@@ -224,1 +228,3 @@
+ std::all_of(ExitBlocks.begin(), ExitBlocks.end(),
+ [&](BasicBlock *BB) { return ParentL->contains(BB); });
----------------
Can't ParentL be nullptr here for a top-level loop?
http://reviews.llvm.org/D14526
More information about the llvm-commits
mailing list