[PATCH] D109758: [StackColoring] Fix a debug invariance problem

Djordje Todorovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 14 06:34:47 PDT 2021


djtodoro added a comment.

This looks reasonable to me.



================
Comment at: llvm/lib/CodeGen/StackColoring.cpp:715
         MarkersFound += 1;
-      } else {
+      } else if (!MI.isDebugInstr()) {
         for (const MachineOperand &MO : MI.operands()) {
----------------
an early continue at the begging of the loop as:

    if (MI.isDebugInstr())
      continue;
?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109758/new/

https://reviews.llvm.org/D109758



More information about the llvm-commits mailing list