mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
By min, I mean max.
llvm-svn: 57766
This commit is contained in:
parent
cf0977d7b1
commit
e742ce1a58
@ -130,7 +130,7 @@ void LiveIntervals::computeNumbering() {
|
|||||||
MIIndex += InstrSlots::NUM;
|
MIIndex += InstrSlots::NUM;
|
||||||
FunctionSize++;
|
FunctionSize++;
|
||||||
|
|
||||||
// Insert min(1, numdefs) empty slots after every instruction.
|
// Insert max(1, numdefs) empty slots after every instruction.
|
||||||
unsigned Slots = I->getDesc().getNumDefs();
|
unsigned Slots = I->getDesc().getNumDefs();
|
||||||
if (Slots == 0)
|
if (Slots == 0)
|
||||||
Slots = 1;
|
Slots = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user