diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-11-17 16:02:50 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-11-17 16:02:50 +0000 |
commit | c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b (patch) | |
tree | ef0d752361928fd7bf0a0142d4b938eede1be18d /include | |
parent | e8a957d2a91d02af0b9c3808b31067d236b22196 (diff) | |
download | external_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.zip external_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.tar.gz external_llvm-c8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b.tar.bz2 |
Add a loop rerolling flag to the PassManagerBuilder
This adds a boolean member variable to the PassManagerBuilder to control loop
rerolling (just like we have for unrolling and the various vectorization
options). This is necessary for control by the frontend. Loop rerolling remains
disabled by default at all optimization levels.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194966 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/IPO/PassManagerBuilder.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/PassManagerBuilder.h b/include/llvm/Transforms/IPO/PassManagerBuilder.h index 3648a3d..2788774 100644 --- a/include/llvm/Transforms/IPO/PassManagerBuilder.h +++ b/include/llvm/Transforms/IPO/PassManagerBuilder.h @@ -112,6 +112,7 @@ public: bool SLPVectorize; bool LoopVectorize; bool LateVectorize; + bool RerollLoops; private: /// ExtensionList - This is list of all of the extensions that are registered. |