<div dir="ltr">On Tue, Sep 10, 2013 at 5:32 PM, Richard Smith <span dir="ltr"><<a href="mailto:richard@metafoo.co.uk" target="_blank">richard@metafoo.co.uk</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div class="h5">On Tue, Sep 10, 2013 at 4:18 PM, Eli Friedman <span dir="ltr"><<a href="mailto:eli.friedman@gmail.com" target="_blank">eli.friedman@gmail.com</a>></span> wrote:<br>
</div></div><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Author: efriedma<br>
Date: Tue Sep 10 18:18:14 2013<br>
New Revision: 190448<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=190448&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=190448&view=rev</a><br>
Log:<br>
Fix unused variables.<br>
<br>
Modified:<br>
    llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp<br>
    llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp<br>
    llvm/trunk/lib/Target/Hexagon/HexagonISelLowering.cpp<br>
    llvm/trunk/lib/Target/Hexagon/HexagonMachineScheduler.cpp<br>
    llvm/trunk/lib/Target/Mips/MipsISelLowering.cpp<br>
<br>
Modified: llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp?rev=190448&r1=190447&r2=190448&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp?rev=190448&r1=190447&r2=190448&view=diff</a><br>


==============================================================================<br>
--- llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/RegAllocGreedy.cpp Tue Sep 10 18:18:14 2013<br>
@@ -120,7 +120,9 @@ class RAGreedy : public MachineFunctionP<br>
     RS_Done<br>
   };<br>
<br>
+#ifndef NDEBUG<br>
   static const char *const StageName[];<br>
+#endif<br>
<br>
   // RegInfo - Keep additional information about each live range.<br>
   struct RegInfo {<br>
<br>
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp?rev=190448&r1=190447&r2=190448&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp?rev=190448&r1=190447&r2=190448&view=diff</a><br>


==============================================================================<br>
--- llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp (original)<br>
+++ llvm/trunk/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp Tue Sep 10 18:18:14 2013<br>
@@ -389,7 +389,6 @@ signed ResourcePriorityQueue::regPressur<br>
 // Constants used to denote relative importance of<br>
 // heuristic components for cost computation.<br>
 static const unsigned PriorityOne = 200;<br>
-static const unsigned PriorityTwo = 100;<br>
 static const unsigned PriorityThree = 50;<br>
 static const unsigned PriorityFour = 15;<br>
 static const unsigned PriorityFive = 5;<br></blockquote><div><br></div></div></div><div>The resulting code here looks a bit weird, due to the discontiguous priorities. Can we rename these or something?</div><div><div class="h5">
<div></div></div></div></div></div></div></blockquote></div></div><br>r190466<br><br>-Eli<br></div>