[PATCH] D137768: [opt] Enable using -module-summary with -S

Alexander Shaposhnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 10 01:03:16 PST 2022


alexander-shaposhnikov created this revision.
alexander-shaposhnikov added reviewers: tejohnson, nikic.
alexander-shaposhnikov created this object with visibility "All Users".
Herald added subscribers: ormris, steven_wu, hiraditya.
Herald added a project: All.
alexander-shaposhnikov requested review of this revision.
Herald added a project: LLVM.

Enable using -module-summary with -S .
(similarly to what currently can be achieved with opt <input> -o - | llvm-dis).

Test plan: ninja check-all


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137768

Files:
  llvm/include/llvm/IR/IRPrintingPasses.h
  llvm/lib/IR/CMakeLists.txt
  llvm/lib/IR/IRPrintingPasses.cpp
  llvm/test/Bitcode/thinlto-function-summary.ll
  llvm/tools/opt/NewPMDriver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137768.474467.patch
Type: text/x-patch
Size: 4519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221110/814e3cd3/attachment.bin>


More information about the llvm-commits mailing list