<div dir="ltr">Cool!</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 11, 2013 at 4:18 PM, Eli Bendersky <span dir="ltr"><<a href="mailto:eliben@google.com" target="_blank">eliben@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: eliben<br>
Date: Mon Mar 11 18:18:25 2013<br>
New Revision: 176836<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=176836&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=176836&view=rev</a><br>
Log:<br>
Residual cleanup: live-out set is gone<br>
<br>
Modified:<br>
    llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h<br>
<br>
Modified: llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h?rev=176836&r1=176835&r2=176836&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h?rev=176836&r1=176835&r2=176836&view=diff</a><br>

==============================================================================<br>
--- llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h (original)<br>
+++ llvm/trunk/include/llvm/CodeGen/MachineRegisterInfo.h Mon Mar 11 18:18:25 2013<br>
@@ -100,9 +100,9 @@ class MachineRegisterInfo {<br>
   BitVector ReservedRegs;<br>
<br>
   /// Keep track of the physical registers that are live in to the function.<br>
-  /// Live in values are typically arguments in registers, live out values are<br>
-  /// typically return values in registers. LiveIn values are allowed to have<br>
-  /// virtual registers associated with them, stored in the second element.<br>
+  /// Live in values are typically arguments in registers.  LiveIn values are<br>
+  /// allowed to have virtual registers associated with them, stored in the<br>
+  /// second element.<br>
   std::vector<std::pair<unsigned, unsigned> > LiveIns;<br>
<br>
   MachineRegisterInfo(const MachineRegisterInfo&) LLVM_DELETED_FUNCTION;<br>
@@ -464,20 +464,19 @@ public:<br>
   }<br>
<br>
   //===--------------------------------------------------------------------===//<br>
-  // LiveIn/LiveOut Management<br>
+  // LiveIn Management<br>
   //===--------------------------------------------------------------------===//<br>
<br>
-  /// addLiveIn/Out - Add the specified register as a live in/out.  Note that it<br>
+  /// addLiveIn - Add the specified register as a live-in.  Note that it<br>
   /// is an error to add the same register to the same set more than once.<br>
   void addLiveIn(unsigned Reg, unsigned vreg = 0) {<br>
     LiveIns.push_back(std::make_pair(Reg, vreg));<br>
   }<br>
<br>
-  // Iteration support for live in/out sets.  These sets are kept in sorted<br>
-  // order by their register number.<br>
+  // Iteration support for the live-ins set.  It's kept in sorted order<br>
+  // by register number.<br>
   typedef std::vector<std::pair<unsigned,unsigned> >::const_iterator<br>
   livein_iterator;<br>
-  typedef std::vector<unsigned>::const_iterator liveout_iterator;<br>
   livein_iterator livein_begin() const { return LiveIns.begin(); }<br>
   livein_iterator livein_end()   const { return LiveIns.end(); }<br>
   bool            livein_empty() const { return LiveIns.empty(); }<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>