[compiler-rt] [llvm] [X86][BF16] Add libcall for F80 -> BF16 (PR #109116)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 07:21:28 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `compiler-rt,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/5213
<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/fuchsia-linux.py ...' (failure)
...
[141/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/extendxftf2.c.obj
[142/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.obj
[143/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/i386/fp_mode.c.obj
[144/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdisf.c.obj
[145/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsxfdi.c.obj
[146/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/trunctfxf2.c.obj
[147/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdixf.c.obj
[148/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsxfsi.c.obj
[149/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixxfdi.c.obj
[150/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj
FAILED: CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-3jb98ptq/bin/clang --target=x86_64-unknown-fuchsia --sysroot=/usr/local/fuchsia/sdk/arch/x64/sysroot -DVISIBILITY_HIDDEN --target=x86_64-unknown-fuchsia -I/usr/local/fuchsia/sdk/pkg/sync/include -I/usr/local/fuchsia/sdk/pkg/fdio/include -O2 -g -DNDEBUG -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj -MF CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj.d -o CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/truncxfbf2.c
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/truncxfbf2.c:11:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc_impl.inc:39:
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:49:2: error: Source should be double precision or quad precision!
49 | #error Source should be double precision or quad precision!
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:114:15: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
114 | static inline src_rep_t extract_sign_from_src(src_rep_t x) {
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:114:47: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
114 | static inline src_rep_t extract_sign_from_src(src_rep_t x) {
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:9: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:33: error: call to undeclared function 'SRC_REP_C'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:50: error: use of undeclared identifier 'srcBits'; did you mean 'dstBits'?
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^~~~~~~
| dstBits
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:101:18: note: 'dstBits' declared here
101 | static const int dstBits = sizeof(dst_t) * CHAR_BIT;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:116:32: error: use of undeclared identifier 'srcBits'; did you mean 'dstBits'?
Step 6 (build) failure: build (failure)
...
[141/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/extendxftf2.c.obj
[142/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdidf.c.obj
[143/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/i386/fp_mode.c.obj
[144/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdisf.c.obj
[145/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsxfdi.c.obj
[146/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/trunctfxf2.c.obj
[147/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/x86_64/floatdixf.c.obj
[148/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixunsxfsi.c.obj
[149/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/fixxfdi.c.obj
[150/166] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj
FAILED: CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-3jb98ptq/bin/clang --target=x86_64-unknown-fuchsia --sysroot=/usr/local/fuchsia/sdk/arch/x64/sysroot -DVISIBILITY_HIDDEN --target=x86_64-unknown-fuchsia -I/usr/local/fuchsia/sdk/pkg/sync/include -I/usr/local/fuchsia/sdk/pkg/fdio/include -O2 -g -DNDEBUG -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj -MF CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj.d -o CMakeFiles/clang_rt.builtins-x86_64.dir/truncxfbf2.c.obj -c /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/truncxfbf2.c
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/truncxfbf2.c:11:
In file included from /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc_impl.inc:39:
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:49:2: error: Source should be double precision or quad precision!
49 | #error Source should be double precision or quad precision!
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:114:15: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
114 | static inline src_rep_t extract_sign_from_src(src_rep_t x) {
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:114:47: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
114 | static inline src_rep_t extract_sign_from_src(src_rep_t x) {
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:9: error: unknown type name 'src_rep_t'; did you mean 'dst_rep_t'?
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^~~~~~~~~
| dst_rep_t
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:99:18: note: 'dst_rep_t' declared here
99 | typedef uint16_t dst_rep_t;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:33: error: call to undeclared function 'SRC_REP_C'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:115:50: error: use of undeclared identifier 'srcBits'; did you mean 'dstBits'?
115 | const src_rep_t srcSignMask = SRC_REP_C(1) << (srcBits - 1);
| ^~~~~~~
| dstBits
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:101:18: note: 'dstBits' declared here
101 | static const int dstBits = sizeof(dst_t) * CHAR_BIT;
| ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/compiler-rt/lib/builtins/fp_trunc.h:116:32: error: use of undeclared identifier 'srcBits'; did you mean 'dstBits'?
```
</details>
https://github.com/llvm/llvm-project/pull/109116
More information about the llvm-commits
mailing list