From: Andrew Trick Date: Mon, 13 Jan 2014 20:08:27 +0000 (+0000) Subject: Hide the pre-RA-sched= option. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=de0847d6a5785ca3dd52798ce2341ca94928a1c7;p=oota-llvm.git Hide the pre-RA-sched= option. This is a very confusing option for a feature that will go away. -enable-misched is exposed instead to help triage issues with the new scheduler. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199133 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp index 4d5e85e7f86..0e8e50eca79 100644 --- a/lib/CodeGen/Passes.cpp +++ b/lib/CodeGen/Passes.cpp @@ -61,7 +61,7 @@ static cl::opt OptimizeRegAlloc("optimize-regalloc", cl::Hidden, cl::desc("Enable optimized register allocation compilation path.")); static cl::opt -EnableMachineSched("enable-misched", cl::Hidden, +EnableMachineSched("enable-misched", cl::desc("Enable the machine instruction scheduling pass.")); static cl::opt DisablePostRAMachineLICM("disable-postra-machine-licm", cl::Hidden, diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 2697a0cc9ca..f644fe3d4b9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -213,7 +213,7 @@ MachinePassRegistry RegisterScheduler::Registry; static cl::opt > ISHeuristic("pre-RA-sched", - cl::init(&createDefaultScheduler), + cl::init(&createDefaultScheduler), cl::Hidden, cl::desc("Instruction schedulers available (before register" " allocation):"));