By min, I mean max.
authorEvan Cheng <evan.cheng@apple.com>
Sat, 18 Oct 2008 05:21:37 +0000 (05:21 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sat, 18 Oct 2008 05:21:37 +0000 (05:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57766 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp

index 1304659833db1d9ad150ded231faecae495353fb..d6c8a6561e4f85c680c201bca826a46e817b8fee 100644 (file)
@@ -130,7 +130,7 @@ void LiveIntervals::computeNumbering() {
       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;