Handle a corner case when extracing code regions where one of the immediate successor
authorOwen Anderson <resistor@mac.com>
Tue, 25 Aug 2009 00:54:39 +0000 (00:54 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 25 Aug 2009 00:54:39 +0000 (00:54 +0000)
commit9db7e91fe826ff4009d28fc82263923fa4774496
tree6b3fe6cd1afd0bf99182f9e2c05edc40f2a5e03b
parentf6163dc85691bbccccd029c607d1d5f0b2944fd9
Handle a corner case when extracing code regions where one of the immediate successor
of an extracted block contains a PHI using a value defined in the extracted region.

With this patch, the partial inliner now passes MultiSource/Applications.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79963 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/CodeExtractor.cpp