[llvm] [ConstantFold] Fold `tgamma` and `tgammaf` when the input parameter is a constant value. (PR #114065)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 18:18:13 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ve-ninja` running on `hpce-ve-main` while building `llvm` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/12/builds/8711

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/ve-linux.py ...' (failure)
...
[668/669] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 56254 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.
FAIL: LLVM :: Transforms/InstCombine/tgamma.ll (43648 of 56254)
******************** TEST 'LLVM :: Transforms/InstCombine/tgamma.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll -passes=instcombine -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -passes=instcombine -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll:14:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: ret double 0x605166C698CF183B
              ^
<stdin>:8:35: note: scanning from here
define double @tgamma_in_range() {
                                  ^
<stdin>:9:2: note: possible intended match here
 ret double 0x605166C698CF194B
 ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = '<stdin>' 
           2: source_filename = "<stdin>" 
           3:  
           4: define float @tgammaf_in_range() { 
           5:  ret float 0x479A216280000000 
           6: } 
           7:  
           8: define double @tgamma_in_range() { 
next:14'0                                       X error: no match found
           9:  ret double 0x605166C698CF194B 
next:14'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:14'1      ?                              possible intended match
          10: } 
Step 8 (check-llvm) failure: check-llvm (failure)
...
[668/669] Running the LLVM regression tests
Unknown option: -C
usage: git [--version] [--help] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]
An error occurred retrieving the git revision: Command '['git', '-C', '/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm', 'rev-parse', 'HEAD']' returned non-zero exit status 129.
-- Testing: 56254 tests, 48 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.
FAIL: LLVM :: Transforms/InstCombine/tgamma.ll (43648 of 56254)
******************** TEST 'LLVM :: Transforms/InstCombine/tgamma.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt < /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll -passes=instcombine -S | /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/opt -passes=instcombine -S
+ /scratch/buildbot/bothome/clang-ve-ninja/build/build_llvm/bin/FileCheck /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll
/scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll:14:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: ret double 0x605166C698CF183B
              ^
<stdin>:8:35: note: scanning from here
define double @tgamma_in_range() {
                                  ^
<stdin>:9:2: note: possible intended match here
 ret double 0x605166C698CF194B
 ^

Input file: <stdin>
Check file: /scratch/buildbot/bothome/clang-ve-ninja/llvm-project/llvm/test/Transforms/InstCombine/tgamma.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
           1: ; ModuleID = '<stdin>' 
           2: source_filename = "<stdin>" 
           3:  
           4: define float @tgammaf_in_range() { 
           5:  ret float 0x479A216280000000 
           6: } 
           7:  
           8: define double @tgamma_in_range() { 
next:14'0                                       X error: no match found
           9:  ret double 0x605166C698CF194B 
next:14'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:14'1      ?                              possible intended match
          10: } 

```

</details>

https://github.com/llvm/llvm-project/pull/114065


More information about the llvm-commits mailing list