[llvm-commits] [llvm] r57766 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp

Evan Cheng evan.cheng at apple.com
Fri Oct 17 22:21:38 PDT 2008


Author: evancheng
Date: Sat Oct 18 00:21:37 2008
New Revision: 57766

URL: http://llvm.org/viewvc/llvm-project?rev=57766&view=rev
Log:
By min, I mean max.

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

Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=57766&r1=57765&r2=57766&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Sat Oct 18 00:21:37 2008
@@ -130,7 +130,7 @@
       MIIndex += InstrSlots::NUM;
       FunctionSize++;
       
-      // Insert min(1, numdefs) empty slots after every instruction.
+      // Insert max(1, numdefs) empty slots after every instruction.
       unsigned Slots = I->getDesc().getNumDefs();
       if (Slots == 0)
         Slots = 1;





More information about the llvm-commits mailing list