[PATCH] D58450: [DebugInfo][MachineCSE] Don't try to copy-propagate debuginfo for every COPY seen

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 21 08:25:17 PST 2019


aprantl added inline comments.


================
Comment at: lib/CodeGen/MachineCSE.cpp:188
     if (OnlyOneUse) {
+      // Update matching debug values.
+      DefMI->changeDebugValuesDefReg(SrcReg);
----------------
Can you leave an explanatory comment here that will prevent somebody coming in later and moving it back to old location?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D58450





More information about the llvm-commits mailing list