[PATCH] D140890: llvm-reduce: Reduce individual operands of named metadata
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 3 05:51:59 PST 2023
arsenm created this revision.
arsenm added reviewers: aeubanks, regehr, dexonsmith, fhahn, tejohnson.
Herald added a project: All.
arsenm requested review of this revision.
Herald added subscribers: sstefan1, wdng.
Herald added a reviewer: jdoerfert.
Herald added a project: LLVM.
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.
https://reviews.llvm.org/D140890
Files:
llvm/test/tools/llvm-reduce/reduce-module-flags.ll
llvm/test/tools/llvm-reduce/reduce-named-metadata.ll
llvm/tools/llvm-reduce/DeltaManager.cpp
llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
llvm/tools/llvm-reduce/deltas/ReduceMetadata.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140890.485975.patch
Type: text/x-patch
Size: 8089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230103/932f1e6f/attachment.bin>
More information about the llvm-commits
mailing list