diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-11-05 00:08:03 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-11-05 00:08:03 +0000 |
commit | c88eb08d02f0aa17352e06c4e235bc1f225b2266 (patch) | |
tree | a061b0c4139d97055b8ac3d6c64f65d38ced82a9 /include | |
parent | 225f35a87ceb12adc29c4232749f3d44d86a1765 (diff) | |
download | llvm-c88eb08d02f0aa17352e06c4e235bc1f225b2266.tar.gz llvm-c88eb08d02f0aa17352e06c4e235bc1f225b2266.tar.bz2 llvm-c88eb08d02f0aa17352e06c4e235bc1f225b2266.tar.xz |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 51aeba4a36..65b83441aa 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -138,7 +138,8 @@ Pass *createLoopInstSimplifyPass(); // // LoopUnroll - This pass is a simple loop unrolling pass. // -Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, int AllowPartial = -1); +Pass *createLoopUnrollPass(int Threshold = -1, int Count = -1, + int AllowPartial = -1, int Runtime = -1); //===----------------------------------------------------------------------===// // |