mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
LoopVectorize: convert TinyTripCountVectorThreshold constant
to a command line switch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173837 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -101,7 +101,9 @@ EnableIfConversion("enable-if-conversion", cl::init(true), cl::Hidden,
|
||||
cl::desc("Enable if-conversion during vectorization."));
|
||||
|
||||
/// We don't vectorize loops with a known constant trip count below this number.
|
||||
static const unsigned TinyTripCountVectorThreshold = 16;
|
||||
static cl::opt<unsigned>
|
||||
TinyTripCountVectorThreshold("vectorizer-min-trip-count", cl::init(16), cl::Hidden,
|
||||
cl::desc("The minimum trip count in the loops to vectorize."));
|
||||
|
||||
/// We don't unroll loops with a known constant trip count below this number.
|
||||
static const unsigned TinyTripCountUnrollThreshold = 128;
|
||||
|
||||
Reference in New Issue
Block a user