[all-commits] [llvm/llvm-project] 7de6dc: [Debugify] Skip debugifying on special/immutable p...

aeubanks via All-commits all-commits at lists.llvm.org
Mon Nov 16 20:40:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7de6dcd24644eee6af9e642cb9e0402a47018413
      https://github.com/llvm/llvm-project/commit/7de6dcd24644eee6af9e642cb9e0402a47018413
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M llvm/lib/IR/PassInstrumentation.cpp
    M llvm/lib/Transforms/Utils/Debugify.cpp
    M llvm/test/DebugInfo/debugify-each.ll
    M llvm/test/DebugInfo/debugify-export.ll
    M llvm/test/Transforms/InstCombine/call-guard.ll

  Log Message:
  -----------
  [Debugify] Skip debugifying on special/immutable passes

With a function pass manager, it would insert debuginfo metadata before
getting to function passes while processing the pass manager, causing
debugify to skip while running the function passes.

Skip special passes + verifier + printing passes. Compared to the legacy
implementation of -debugify-each, this additionally skips verifier
passes. Probably no need to update the legacy version since it will be
obsolete soon.

This fixes 2 instcombine tests using -debugify-each under NPM.

Reviewed By: MaskRay

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




More information about the All-commits mailing list