Add a runtime unrolling parameter to the LoopUnroll pass constructor
authorHal Finkel <hfinkel@anl.gov>
Tue, 5 Nov 2013 00:08:03 +0000 (00:08 +0000)
committerHal Finkel <hfinkel@anl.gov>
Tue, 5 Nov 2013 00:08:03 +0000 (00:08 +0000)
commitc88eb08d02f0aa17352e06c4e235bc1f225b2266
treea061b0c4139d97055b8ac3d6c64f65d38ced82a9
parent225f35a87ceb12adc29c4232749f3d44d86a1765
Add a runtime unrolling parameter to the LoopUnroll pass constructor

As with the other loop unrolling parameters (the unrolling threshold, partial
unrolling, etc.) runtime unrolling can now also be controlled via the
constructor. This will be necessary for moving non-trivial unrolling late in
the pass manager (after loop vectorization).

No functionality change intended.

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