Revert r111394. It was too aggressive.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 18 Aug 2010 20:06:05 +0000 (20:06 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 18 Aug 2010 20:06:05 +0000 (20:06 +0000)
commitcf16bea74e3a6f84af914520562e9f9c5dfa0fad
tree18e7a350b178e674b9823e8771b448b2a51dc4ba
parent4d440bd786ae4dad7035c30fd09044a9efc8dccd
Revert r111394. It was too aggressive.

We must complete the DFS, otherwise we might miss needed phi-defs, and
prematurely color live ranges with a non-dominating value.

This is not a big deal since we get to color more of the CFG and the next
mapValue call will be faster.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111397 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/DepthFirstIterator.h
lib/CodeGen/SplitKit.cpp