[all-commits] [llvm/llvm-project] be0b47: [llvm-reduce] Skip replacing metadata and callee o...

aeubanks via All-commits all-commits at lists.llvm.org
Thu Nov 11 18:45:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0b47d5304ea4190770a4504b329df7fac2ba92
      https://github.com/llvm/llvm-project/commit/be0b47d5304ea4190770a4504b329df7fac2ba92
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-11-11 (Thu, 11 Nov 2021)

  Changed paths:
    A llvm/test/tools/llvm-reduce/operands-to-args-metadata.ll
    M llvm/test/tools/llvm-reduce/remove-operands.ll
    M llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
    M llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp

  Log Message:
  -----------
  [llvm-reduce] Skip replacing metadata and callee operands

Metadata operands tend to require special conditions, especially on dbg
intrinsics. We also don't have a zero value for metadata.

Replacing callee operands is a little weird, since calling undef/null
doesn't make sense. It also causes tons of invalid reductions when
reducing calls to intrinsics since only arguments to intrinsics can be
of the metadata type.

Reviewed By: Meinersbur

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




More information about the All-commits mailing list