[PATCH] D136208: [llvm-reduce] Attempt to strip debug info

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 15:44:25 PDT 2022


aeubanks created this revision.
aeubanks added reviewers: arsenm, dblaikie.
Herald added a project: All.
aeubanks requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

I often run llvm-reduce on IR that contains debug info, this prevents an
extra step of `opt -passes=strip` I do every time and will result in a
lot less invalid reductions around debug metadata.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136208

Files:
  llvm/test/tools/llvm-reduce/strip-debug-info.ll
  llvm/tools/llvm-reduce/CMakeLists.txt
  llvm/tools/llvm-reduce/DeltaManager.cpp
  llvm/tools/llvm-reduce/deltas/StripDebugInfo.cpp
  llvm/tools/llvm-reduce/deltas/StripDebugInfo.h
  llvm/utils/gn/secondary/llvm/tools/llvm-reduce/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136208.468724.patch
Type: text/x-patch
Size: 6060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221018/f35f25c5/attachment.bin>


More information about the llvm-commits mailing list