commit | 4ed4329c37f5a64c16ad4dc1960cbcb66b7118d4 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Sat Oct 18 05:21:37 2008 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Sat Oct 18 05:21:37 2008 +0000 |
tree | d9dfab4b4e742c70ef6757dfc39a51a041db16f3 | |
parent | 99fe34b9b2bb8786da6c7f6134ae17d4c2cd8bf7 [diff] [blame] |
By min, I mean max. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57766 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 1304659..d6c8a65 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -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;