use moveBefore instead of remove+insert, it avoids some
commit47096aa93732135e6e9fd5a51fce49536ad6f3d5
authorChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:18:40 +0000 (29 18:18 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 29 Aug 2010 18:18:40 +0000 (29 18:18 +0000)
tree43238ac1616b333b159bc083e8e015ba9fe06ad1
parentc3133606844674dd74d862dc514e08fa9ef25df8
use moveBefore instead of remove+insert, it avoids some
symtab manipulation, so its faster (in addition to being
more elegant)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112450 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LICM.cpp