/// wth earlier copy coalescing.
extern bool StrongPHIElim;
- /// EnableMachineSched - temporary flag to enable the machine scheduling pass
- /// until we complete the register allocation pass configuration cleanup.
- extern bool EnableMachineSched;
-
class TargetOptions {
public:
TargetOptions()
if (StrongPHIElim)
AU.addRequiredID(StrongPHIEliminationID);
AU.addRequiredTransitiveID(RegisterCoalescerPassID);
- if (EnableMachineSched)
- AU.addRequiredID(MachineSchedulerPassID);
AU.addRequired<CalculateSpillWeights>();
AU.addRequired<LiveStacks>();
AU.addPreserved<LiveStacks>();
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"),
cl::desc("Emit functions into separate sections"),
cl::init(false));
-/// EnableMachineSched - temporary flag to enable the machine scheduling pass
-/// until we complete the register allocation pass configuration cleanup.
-static cl::opt<bool, true>
-MachineSchedOpt("enable-misched",
- cl::desc("Enable the machine instruction scheduling pass."),
- cl::location(EnableMachineSched),
- cl::init(false), cl::Hidden);
-
//---------------------------------------------------------------------------
// TargetMachine Class
//