LoopRotate requires canonical loop form, so it always has preheaders
authorChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 18:06:22 +0000 (18:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 8 Jan 2011 18:06:22 +0000 (18:06 +0000)
commit2aa69082310f48162cb732efdc41613391796cd7
treeebc77fbb890b91e5942d5ac4ea93b38a03b24fdb
parent66fe0ded050a826c3c13bcece64f607f667e4845
LoopRotate requires canonical loop form, so it always has preheaders
and latch blocks.  Reorder entry conditions to make hte pass faster
and more logical.

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