No correctness fixes here, just minor qoi fixes:
authorChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 23:43:24 +0000 (23:43 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 14 Mar 2004 23:43:24 +0000 (23:43 +0000)
commit65826bf435620824763af926270cf0efdc82ea5a
treea06eada4801c9c230c1204a8201bd99d17ae4715
parent12f390e9c03d5439fd84c26d7cbd451cda80601a
No correctness fixes here, just minor qoi fixes:

* Don't insert a branch to the switch instruction after the call, just
  make it a single block.
* Insert the new alloca instructions in the entry block of the original
  function instead of having them execute dynamically
* Don't make the default edge of the switch instruction go back to the switch.
  The loop extractor shouldn't create new loops!
* Give meaningful names to the alloca slots and the reload instructions
* Some minor code simplifications

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