Three major changes:
authorChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 18:52:51 +0000 (18:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 18:52:51 +0000 (18:52 +0000)
commit0e4a1543aba1364fe4a1eacee46b6d08d4611506
treef819ae4f9bd8b89179b2307203e130d3eb11bc7a
parentb0433d4b2fb66922fa3625871840ccb72c8a9dec
Three major changes:
1. Rip out LoopRotate's domfrontier updating code.  It isn't
   needed now that LICM doesn't use DF and it is super complex
   and gross.
2. Make DomTree updating code a lot simpler and faster.  The
   old loop over all the blocks was just to find a block??
3. Change the code that inserts the new preheader to just use
   SplitCriticalEdge instead of doing an overcomplex
   reimplementation of it.

No behavior change, except for the name of the inserted preheader.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123072 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopRotation.cpp
test/Transforms/LoopRotate/phi-duplicate.ll