[RA] Fix spelling of Greedy register allocator internal option
authorTeresa Johnson <tejohnson@google.com>
Tue, 2 Jul 2019 18:54:03 +0000 (18:54 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 2 Jul 2019 18:54:03 +0000 (18:54 +0000)
The internal option added with r323870 has a typo. It isn't being used
by any tests, but I decided to fix the spelling and leave it in for use
in debugging the changes added in that patch.

llvm-svn: 364958

llvm/lib/CodeGen/RegAllocGreedy.cpp

index 6485040..771fc46 100644 (file)
@@ -137,7 +137,7 @@ CSRFirstTimeCost("regalloc-csr-first-time-cost",
               cl::init(0), cl::Hidden);
 
 static cl::opt<bool> ConsiderLocalIntervalCost(
-    "condsider-local-interval-cost", cl::Hidden,
+    "consider-local-interval-cost", cl::Hidden,
     cl::desc("Consider the cost of local intervals created by a split "
              "candidate when choosing the best split candidate."),
     cl::init(false));