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 776f984 commit e21d3b9Copy full SHA for e21d3b9
llvm/lib/CodeGen/StackSlotColoring.cpp
@@ -369,7 +369,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
369
SmallVector<int, 16> SlotMapping(NumObjs, -1);
370
SmallVector<float, 16> SlotWeights(NumObjs, 0.0);
371
SmallVector<SmallVector<int, 4>, 16> RevMap(NumObjs);
372
- BitVector UsedColors(NumObjs);
373
374
LLVM_DEBUG(dbgs() << "Color spill slot intervals:\n");
375
bool Changed = false;
@@ -380,7 +379,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) {
380
379
SlotMapping[SS] = NewSS;
381
RevMap[NewSS].push_back(SS);
382
SlotWeights[NewSS] += li->weight();
383
- UsedColors.set(NewSS);
384
Changed |= (SS != NewSS);
385
}
386
0 commit comments