[LCG] Hoist the main DFS loop out of the edge removal function. This
authorChandler Carruth <chandlerc@gmail.com>
Sat, 26 Apr 2014 09:06:53 +0000 (09:06 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 26 Apr 2014 09:06:53 +0000 (09:06 +0000)
commit84956691129f75835e4683139a08dd70d6f6063f
tree392959d0b9d3138e4545cc235fb5649ab0e91808
parentb79f1fe0847d11751a2bb47cb388ee8b4e53003b
[LCG] Hoist the main DFS loop out of the edge removal function. This
makes working through the worklist much cleaner, and makes it possible
to avoid the 'bool-to-continue-the-outer-loop' hack. Not a huge
difference, but I think this is approaching as polished as I can make
it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207310 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/LazyCallGraph.h
lib/Analysis/LazyCallGraph.cpp