[PATCH] D65026: [Bugpoint redesign] Added pass to reduce Metadata
Diego TreviƱo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 19 15:35:17 PDT 2019
diegotf created this revision.
diegotf added reviewers: chandlerc, dblaikie.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.
This pass tries to reduce named & unnamed metadata nodes from an IR file, as well as any declared debug functions (as well as their calls).
It also implements a new `run-only` flag to give the user the freedom to choose which passes can be run by the tool. It also helps make testing each pass easier.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D65026
Files:
llvm/test/Reduce/remove-funcs.ll
llvm/test/Reduce/remove-global-vars.ll
llvm/test/Reduce/remove-metadata.ll
llvm/tools/llvm-reduce/CMakeLists.txt
llvm/tools/llvm-reduce/DeltaManager.h
llvm/tools/llvm-reduce/deltas/Delta.cpp
llvm/tools/llvm-reduce/deltas/Delta.h
llvm/tools/llvm-reduce/deltas/ReduceFunctions.cpp
llvm/tools/llvm-reduce/deltas/ReduceFunctions.h
llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.cpp
llvm/tools/llvm-reduce/deltas/ReduceGlobalVars.h
llvm/tools/llvm-reduce/deltas/ReduceMetadata.cpp
llvm/tools/llvm-reduce/deltas/ReduceMetadata.h
llvm/tools/llvm-reduce/deltas/RemoveFunctions.cpp
llvm/tools/llvm-reduce/deltas/RemoveFunctions.h
llvm/tools/llvm-reduce/deltas/RemoveGlobalVars.cpp
llvm/tools/llvm-reduce/deltas/RemoveGlobalVars.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65026.210917.patch
Type: text/x-patch
Size: 22874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190719/351502ab/attachment.bin>
More information about the llvm-commits
mailing list