[PATCH] D31410: llvm-lto2: Move the LTO::run() action behind a subcommand.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 11:53:59 PDT 2017


pcc added a comment.

In https://reviews.llvm.org/D31410#724069, @zturner wrote:

> I guess what I mean is, if you just want to import every single top level option into the "run" subcommand, and the tool only works when the run subcommand is given (looking at the source code it just prints usage and exits if there is no run subcommand) why is the run subcommand even necessary?  Isn't it equivalent to just not even having a subcommand and running `llvm-lto2 -lto-use-new-pm ...`?


I intend to add another subcommand to this command (see https://reviews.llvm.org/D31920).


Repository:
  rL LLVM

https://reviews.llvm.org/D31410





More information about the llvm-commits mailing list