diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-04-02 23:43:06 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 23:43:06 +0700 |
commit | efca37fda55ade9fd079c932ad14ab59c3bfecbc (patch) | |
tree | 2a1d2ce0d2c95b90df6cba8be34981744d4ef696 /llvm/docs/CommandGuide | |
parent | ddc48fefe389789f64713b5924a03fb2b7961ef3 (diff) | |
download | llvm-efca37fda55ade9fd079c932ad14ab59c3bfecbc.zip llvm-efca37fda55ade9fd079c932ad14ab59c3bfecbc.tar.gz llvm-efca37fda55ade9fd079c932ad14ab59c3bfecbc.tar.bz2 |
llvm-reduce: Change exit code for uninteresting inputs (#134021)
This makes it easier to reduce llvm-reduce with llvm-reduce to filter
cases where the input reduced too much.
Not sure if it's possible to test the exit code in lit.
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-reduce.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/llvm-reduce.rst b/llvm/docs/CommandGuide/llvm-reduce.rst index 2670668..85111e6 100644 --- a/llvm/docs/CommandGuide/llvm-reduce.rst +++ b/llvm/docs/CommandGuide/llvm-reduce.rst @@ -108,8 +108,9 @@ GENERIC OPTIONS EXIT STATUS ------------ -:program:`llvm-reduce` returns 0 under normal operation. It returns a non-zero -exit code if there were any errors. +:program:`llvm-reduce` returns 0 under normal operation. It returns a +non-zero exit code if there were any errors. Returns 2 if the +interestingness test reported the initial input was not interesting. EXAMPLE ------- |