Use the new architecture to get the containing machine basic block for a machine
authorBill Wendling <isanbard@gmail.com>
Wed, 2 Jan 2008 19:32:43 +0000 (19:32 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 2 Jan 2008 19:32:43 +0000 (19:32 +0000)
commit9258cd3994e54aaec66f69a321032e071391dc90
tree3c46bad8cba0e816c1e6829d01983ecef06ba1f4
parentaeb5e5cdb7f8544c679642068492f74a14eca60e
Use the new architecture to get the containing machine basic block for a machine
instruction. Also, use "splice" to move the new instruction instead of
remove/insert (where it was leaking memory anyway).

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