We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bdaaae commit c012ebdCopy full SHA for c012ebd
llvm/lib/CodeGen/StackSlotColoring.cpp
@@ -359,7 +359,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
359
SmallVector<int, 16> SlotMapping(NumObjs, -1);
360
SmallVector<float, 16> SlotWeights(NumObjs, 0.0);
361
SmallVector<SmallVector<int, 4>, 16> RevMap(NumObjs);
362
- BitVector UsedColors(NumObjs);
363
364
LLVM_DEBUG(dbgs() << "Color spill slot intervals:\n");
365
bool Changed = false;
@@ -370,7 +369,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
370
369
SlotMapping[SS] = NewSS;
371
RevMap[NewSS].push_back(SS);
372
SlotWeights[NewSS] += li->weight();
373
- UsedColors.set(NewSS);
374
Changed |= (SS != NewSS);
375
}
376
0 commit comments