[PATCH] D56265: [DebugInfo] MCP: collect and update DBG_VALUEs encountered in local block

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 3 12:53:44 PST 2019


aprantl added inline comments.


================
Comment at: lib/CodeGen/MachineCopyPropagation.cpp:250
+      } else {
+        assert(Reader && "Debug reader must specify instruction");
+        CopyDbgUsers[Copy].push_back(Reader);
----------------
Could we just pass a MachineInstr& instead, or can it be null for the !IsDebug case?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D56265





More information about the llvm-commits mailing list