[llvm] r364958 - [RA] Fix spelling of Greedy register allocator internal option

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 11:54:06 PDT 2019


Author: tejohnson
Date: Tue Jul  2 11:54:03 2019
New Revision: 364958

URL: http://llvm.org/viewvc/llvm-project?rev=364958&view=rev
Log:
[RA] Fix spelling of Greedy register allocator internal option

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.

Modified:
    llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp

Modified: llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp?rev=364958&r1=364957&r2=364958&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp (original)
+++ llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp Tue Jul  2 11:54:03 2019
@@ -137,7 +137,7 @@ CSRFirstTimeCost("regalloc-csr-first-tim
               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));




More information about the llvm-commits mailing list