When we find a reaching definition, make sure it is visited from all paths by
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Oct 2010 20:36:28 +0000 (20:36 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 5 Oct 2010 20:36:28 +0000 (20:36 +0000)
commit984a7fc32ce2df9deb4bde8ddd086185b91bb358
tree1441960ccefb7836383e7b6aa0b6c1bf106ead56
parentfc60d7729bb5b63b7d61e370e51bd05e9a18b8bc
When we find a reaching definition, make sure it is visited from all paths by
erasing it from the visited set. That ensures we create the right phi defs.

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