[all-commits] [llvm/llvm-project] 9c8b89: llvm-reduce: Refine missing argument behavior

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jan 3 13:04:20 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c8b89f580d0a6ee43c9ac5a491ee1c56078a62f
      https://github.com/llvm/llvm-project/commit/9c8b89f580d0a6ee43c9ac5a491ee1c56078a62f
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    A llvm/test/tools/llvm-reduce/command-line-behavior.test
    M llvm/tools/llvm-reduce/ReducerWorkItem.cpp
    M llvm/tools/llvm-reduce/ReducerWorkItem.h
    M llvm/tools/llvm-reduce/TestRunner.cpp
    M llvm/tools/llvm-reduce/TestRunner.h
    M llvm/tools/llvm-reduce/deltas/Delta.cpp
    M llvm/tools/llvm-reduce/llvm-reduce.cpp

  Log Message:
  -----------
  llvm-reduce: Refine missing argument behavior

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.




More information about the All-commits mailing list