[PATCH] D132077: [llvm-reduce] Add pass that reduces DebugInfo metadata
Matthew Voss via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 23 17:31:30 PDT 2022
ormris updated this revision to Diff 462629.
ormris added a comment.
Updating this patch to address verifier issues. From my reading of the verifier, and some internal tests, it looks like removing all elements of the tuple is valid for tuples attached to nodes like DISubprogram and DICompositeType. This also allows the pass to reduce those node types more fully. DICompileUnit nodes are now added to the queue. I've also updated fhahn's test to reflect the changes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132077/new/
https://reviews.llvm.org/D132077
Files:
llvm/test/tools/llvm-reduce/Inputs/remove-dimetadata.py
llvm/test/tools/llvm-reduce/remove-debug-info-nodes.ll
llvm/test/tools/llvm-reduce/remove-dimetadata.ll
llvm/tools/llvm-reduce/CMakeLists.txt
llvm/tools/llvm-reduce/DeltaManager.cpp
llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.cpp
llvm/tools/llvm-reduce/deltas/ReduceDIMetadata.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132077.462629.patch
Type: text/x-patch
Size: 10920 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220924/ae81995d/attachment.bin>
More information about the llvm-commits
mailing list