commit | a670c684a637e9922be87d8b459d2e052675f0e4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Aug 13 03:27:07 2004 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Aug 13 03:27:07 2004 +0000 |
tree | 84d4aa8c464e992d613be90000dfb349f1c812ac | |
parent | 337772832bb93ed98ee1e93c584ac3f82d9ea959 [diff] |
If we are extracting a block that has multiple successors that are the same block (common in a switch), make sure to remove extra edges in successor blocks. This fixes CodeExtractor/2004-08-12-BlockExtractPHI.ll and should be pulled into LLVM 1.3 (though the regression test need not be, as that would require pulling in the LoopExtract.cpp changes). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15717 91177308-0d34-0410-b5e6-96231b3b80d8