[PATCH] D20267: [LTO] Add the ability to specify a subset of passes to run

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Fri May 13 19:14:30 PDT 2016


davide created this revision.
davide added reviewers: rafael, pcc, chandlerc.
davide added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.

This commits add a --lto-newpm-passes= option that can specify the set of passes that need to be run (similarly to what opt already does). This makes testing easier (e.g. tuning the LTO pipeline), among others.
runLTOPasses() is growing (maybe) too much. I can split in two separate functions, if you like that better.


http://reviews.llvm.org/D20267

Files:
  ELF/CMakeLists.txt
  ELF/Config.h
  ELF/Driver.cpp
  ELF/LTO.cpp
  ELF/Options.td
  test/ELF/lto/ltopasses-custom.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20267.57278.patch
Type: text/x-patch
Size: 6791 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160514/aba2b352/attachment.bin>


More information about the llvm-commits mailing list