mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
Make the LoopRotate pass's maximum header size configurable both programmatically
and via the command line, mirroring similar functionality in LoopUnroll. In situations where clients used custom unrolling thresholds, their intent could previously be foiled by LoopRotate having a hardcoded threshold. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -155,7 +155,7 @@ Pass *createLoopRerollPass();
|
||||
//
|
||||
// LoopRotate - This pass is a simple loop rotating pass.
|
||||
//
|
||||
Pass *createLoopRotatePass();
|
||||
Pass *createLoopRotatePass(int MaxHeaderSize = -1);
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
|
Reference in New Issue
Block a user