================ @@ -900,6 +931,17 @@ bool StackColoring::removeAllMarkers() { } Markers.clear(); + for (MachineBasicBlock &MBB : *MF) { ---------------- arsenm wrote: More than a cleanup? https://github.com/llvm/llvm-project/pull/143931