[all-commits] [llvm/llvm-project] c2e62c: [llvm-reduce] Remove DIGlobalVariableExpressions f...

Orlando Cazalet-Hyams via All-commits all-commits at lists.llvm.org
Thu Jun 6 01:31:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2e62c745996cbd4e19ac1ffcafc849960377b57
      https://github.com/llvm/llvm-project/commit/c2e62c745996cbd4e19ac1ffcafc849960377b57
  Author: Orlando Cazalet-Hyams <orlando.hyams at sony.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M llvm/test/tools/llvm-reduce/remove-debug-info-nodes.ll
    M llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp

  Log Message:
  -----------
  [llvm-reduce] Remove DIGlobalVariableExpressions from DICompileUnit's globals (#94497)

The 'metadata' delta pass will remove !dbg attachments from globals (which are
DIGlobalVariableExpression nodes). The DIGlobalVariableExpressions don't get
eliminated from the IR however if they are still referenced by the globals
field in DICompileUnit.

Teach the 'di-metadata' pass to try removing global variable operands from
metadata tuples as well as DINodes.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list