[all-commits] [llvm/llvm-project] 9ee8d2: [Debugify] Strip llvm.mir.debugify metadata

Anton Sidorenko via All-commits all-commits at lists.llvm.org
Thu Nov 24 01:28:28 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9ee8d2e081d2622b31e57154458b0317e437d98f
      https://github.com/llvm/llvm-project/commit/9ee8d2e081d2622b31e57154458b0317e437d98f
  Author: Anton Sidorenko <anton.sidorenko at syntacore.com>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/test/CodeGen/Generic/MIRDebugify/locations-and-values.mir

  Log Message:
  -----------
  [Debugify] Strip llvm.mir.debugify metadata

We don't strip llvm.mir.debugify metadata in `llvm::stripDebugifyMetadata`. This
may lead to incorrect number of lines and variables in the metadata when we run
debugify twice, e.g. -run-pass=mir-debugify,...,mir-strip-debug,...,mir-debugify.

Differential Revision: https://reviews.llvm.org/D138417




More information about the All-commits mailing list