[llvm-commits] [llvm] r122868 - /llvm/trunk/lib/Transforms/Scalar/LoopInstSimplify.cpp
Duncan Sands
baldrick at free.fr
Tue Jan 4 23:34:25 PST 2011
Hi Cameron,
> + while (!VisitStack.empty()) {
> + BasicBlock *BB = VisitStack.back();
> + VisitStack.pop_back();
the above two lines can be replaced with one using pop_back_val.
Ciao, Duncan.
More information about the llvm-commits
mailing list