diff options
author | Andrew Trick <atrick@apple.com> | 2012-01-17 06:54:59 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-01-17 06:54:59 +0000 |
commit | c1b1c7b205589c9a081e1cbd33fb56506fc287b3 (patch) | |
tree | c61481c57a7048303dbb3365d3208ce290020f2b /lib/CodeGen/RegAllocGreedy.cpp | |
parent | 0f080913d1ff80bb61476724304359e14822b193 (diff) |
Moving options declarations around.
More short term hackery until we have a way to configure passes that work on LiveIntervals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148289 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index bced80ca54..16832ceaf3 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -51,6 +51,13 @@ STATISTIC(NumGlobalSplits, "Number of split global live ranges"); STATISTIC(NumLocalSplits, "Number of split local live ranges"); STATISTIC(NumEvicted, "Number of interferences evicted"); +/// EnableMachineSched - temporary flag to enable the machine scheduling pass +/// until we complete the register allocation pass configuration cleanup. +static cl::opt<bool> +EnableMachineSched("enable-misched", + cl::desc("Enable the machine instruction scheduling pass."), + cl::init(false), cl::Hidden); + static cl::opt<SplitEditor::ComplementSpillMode> SplitSpillMode("split-spill-mode", cl::Hidden, cl::desc("Spill mode for splitting live ranges"), |