[PATCH] D77747: Add pass to strip debug info from MIR

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 8 14:08:53 PDT 2020


dsanders marked an inline comment as done.
dsanders added inline comments.


================
Comment at: llvm/lib/CodeGen/MachineStripDebug.cpp:55
+
+    Changed |= StripDebugInfo(M);
+    return Changed;
----------------
I have one small fixup to make here which is that we should also remove the debugify metadata too. Otherwise mir-debugify can't be run more than once in a pipeline as you end up with an llvm.debugify with >2 operands


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77747





More information about the llvm-commits mailing list