[PATCH] D132077: [llvm-reduce] Add pass that reduces DebugInfo metadata

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 14:51:00 PDT 2022


ormris updated this revision to Diff 465169.
ormris added a comment.

Thanks for the example and suggestion, that was really helpful. I've changed the pass to use that strategy. I don't get any verification errors when using my internal test case or the test case you provided, and the code is overall cleaner, I think.


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.465169.patch
Type: text/x-patch
Size: 10122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221004/21fc1456/attachment.bin>


More information about the llvm-commits mailing list