[PATCH] D56151: [DebugInfo] PR40010: Avoid register coalesing altering DBG_VALUE valuations

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 11:31:15 PDT 2019


aprantl accepted this revision.
aprantl added inline comments.
This revision is now accepted and ready to land.


================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:1638
+
+  // Is the src reg live across the DBG_VALUE?
+  bool SrcLive = false;
----------------
source register


================
Comment at: lib/CodeGen/RegisterCoalescer.cpp:1652
+  } else if (MRI->isConstantPhysReg(DstReg)) {
+    // Constant phys regs are always live.
+    DstLive = true;
----------------
Constant physical registers


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

https://reviews.llvm.org/D56151





More information about the llvm-commits mailing list