Add a loop rerolling flag to the PassManagerBuilder
authorHal Finkel <hfinkel@anl.gov>
Sun, 17 Nov 2013 16:02:50 +0000 (16:02 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 17 Nov 2013 16:02:50 +0000 (16:02 +0000)
commitc8dc96be28fd1a3d6ddebbb48b8d55b61e4bd89b
treeef0d752361928fd7bf0a0142d4b938eede1be18d
parente8a957d2a91d02af0b9c3808b31067d236b22196
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
include/llvm/Transforms/IPO/PassManagerBuilder.h
lib/Transforms/IPO/PassManagerBuilder.cpp