Allow multiple terminators to read virtual registers.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Jul 2012 19:52:05 +0000 (19:52 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Jul 2012 19:52:05 +0000 (19:52 +0000)
commit9e51b14faa55225a3175c4af9c69f5a45dd9a646
treed87065b197ae9fb29fc7b881701d33361f302235
parentb8720787015dc73d8a050b063366be6c3ad01946
Allow multiple terminators to read virtual registers.

Find the kill as the last terminator to read SrcReg.

Patch by Philipp Brüschweiler!

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