[PATCH] D113532: [llvm-reduce] Skip replacing metadata and callee operands

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 9 18:00:51 PST 2021


aeubanks created this revision.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113532

Files:
  llvm/test/tools/llvm-reduce/operands-to-args-metadata.ll
  llvm/test/tools/llvm-reduce/remove-operands.ll
  llvm/tools/llvm-reduce/deltas/ReduceOperands.cpp
  llvm/tools/llvm-reduce/deltas/ReduceOperandsToArgs.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113532.386024.patch
Type: text/x-patch
Size: 4948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211110/fde19b28/attachment.bin>


More information about the llvm-commits mailing list