[all-commits] [llvm/llvm-project] 2c799b: [llvm-reduce] Add pass that reduces DebugInfo meta...

Matthew Voss via All-commits all-commits at lists.llvm.org
Thu Oct 6 14:25:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c799b7793ccdce1759b779f45f10ce5755b9d5d
      https://github.com/llvm/llvm-project/commit/2c799b7793ccdce1759b779f45f10ce5755b9d5d
  Author: Matthew Voss <matthew.voss at sony.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    A llvm/test/tools/llvm-reduce/Inputs/remove-dimetadata.py
    M llvm/test/tools/llvm-reduce/remove-debug-info-nodes.ll
    A llvm/test/tools/llvm-reduce/remove-dimetadata.ll
    M llvm/tools/llvm-reduce/CMakeLists.txt
    M llvm/tools/llvm-reduce/DeltaManager.cpp
    A llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
    A llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.h

  Log Message:
  -----------
  [llvm-reduce] Add pass that reduces DebugInfo metadata

This new pass for llvm-reduce attempts to reduce DebugInfo metadata.
The process used is:
  1. Scan every MD node, keeping track of nodes already visited.
  2. Look for DebugInfo nodes, then record any operands that are lists.
  3. Bisect though all the elements of the collected lists.

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




More information about the All-commits mailing list