[all-commits] [llvm/llvm-project] 5f6bf7: llvm-reduce: Reduce individual operands of named m...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 3 08:48:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f6bf752d9a7efaf6533d6ad375ab0231eef8012
      https://github.com/llvm/llvm-project/commit/5f6bf752d9a7efaf6533d6ad375ab0231eef8012
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    A llvm/test/tools/llvm-reduce/reduce-module-flags.ll
    A llvm/test/tools/llvm-reduce/reduce-named-metadata.ll
    M llvm/tools/llvm-reduce/DeltaManager.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceMetadata.h

  Log Message:
  -----------
  llvm-reduce: Reduce individual operands of named metadata

The current reduction tries all or nothing elimination of named
metadata. I noticed in one case where one of the module flags was
necessary, but it left the rest. Reduce the individual operands of
named metadata nodes that are known to behave like lists. Be
conservative since some named metadata may have more specific verifier
requirements for the operands.




More information about the All-commits mailing list