[PATCH] D140566: llvm-reduce: Refine missing argument behavior

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 22 11:06:50 PST 2022


arsenm created this revision.
arsenm added reviewers: regehr, aeubanks, lebedev.ri, fhahn.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

We required the test and input arguments for --print-delta-passes
which is unhelpful. Also, start printing the help output if no
arguments were supplied.

      

It looks like there's more sophisticated ways to accomplish this with
the opt library, but it was less work to manually emit these errors.


https://reviews.llvm.org/D140566

Files:
  llvm/test/tools/llvm-reduce/command-line-behavior.test
  llvm/tools/llvm-reduce/llvm-reduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140566.484894.patch
Type: text/x-patch
Size: 3775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221222/d4ebcc4a/attachment.bin>


More information about the llvm-commits mailing list