LoopUnroll: Move the actual unrolling logic to a standalone function. NFC
authorJustin Bogner <mail@justinbogner.com>
Tue, 12 Jan 2016 05:21:37 +0000 (05:21 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 12 Jan 2016 05:21:37 +0000 (05:21 +0000)
commitf4afe812032187badbde45a4aa35006483d4a1d5
treeb9a6b7ae43628aad08ebc0e783e04f4db43d9376
parentb28bc14f5936cae1edc3b027783fc127020d0848
LoopUnroll: Move the actual unrolling logic to a standalone function. NFC

This is pure code motion - break the actual work out of runOnLoop into
a reusable standalone function.

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