[llvm] [NFC] Various Cleanup in StackColoring, StackSlotColoring, LiveStacks (PR #143931)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 13 08:19:42 PDT 2025


================
@@ -900,6 +931,17 @@ bool StackColoring::removeAllMarkers() {
   }
   Markers.clear();
 
+  for (MachineBasicBlock &MBB : *MF) {
----------------
Ralender wrote:

The change here is that we ensure that StackColoring removes all lifetime annotations. such instead of it removing most and `DeadMachineInstructionElim` removing the remaining ones.

If you don't want this change here, I can take it out of the stack.

https://github.com/llvm/llvm-project/pull/143931


More information about the llvm-commits mailing list