[llvm] Enable logf128 constant folding for hosts with 128bit long double (PR #96287)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 9 03:53:58 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/3029
Here is the relevant piece of the build log for the reference:
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstSimplify/ConstProp/logf128.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll -passes=instsimplify -S | /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -passes=instsimplify -S
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll:75:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: ret fp128 0xL00000000000000007FFF800000000000
[0;1;32m ^
[0m[1m<stdin>:41:35: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine fp128 @log_e_negative_2() {
[0;1;32m ^
[0m[1m<stdin>:42:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m ret fp128 0xL0000000000000000FFFF800000000000
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll:107:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: ret fp128 0xL00000000000000007FFF800000000000
[0;1;32m ^
[0m[1m<stdin>:57:42: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine fp128 @log_e_negative_infinity() {
[0;1;32m ^
[0m[1m<stdin>:58:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m ret fp128 0xL0000000000000000FFFF800000000000
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll:123:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: ret <2 x fp128> <fp128 0xL00000000000000007FFF800000000000, fp128 0xL00000000000000007FFF800000000000>
[0;1;32m ^
[0m[1m<stdin>:65:48: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine <2 x fp128> @log_e_negative_2_vector() {
[0;1;32m ^
[0m[1m<stdin>:66:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m ret <2 x fp128> <fp128 0xL0000000000000000FFFF800000000000, fp128 0xL0000000000000000FFFF800000000000>
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstSimplify/ConstProp/logf128.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '<stdin>' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "<stdin>" [0m
[0;1;30m 3: [0m[1m[0;1;46m [0m
[0;1;30m 4: [0m[1m[0;1;46m; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) [0m
[0;1;30m 5: [0m[1m[0;1;46mdeclare fp128 @llvm.log.f128(fp128) #0 [0m
[0;1;30m 6: [0m[1m[0;1;46m [0m
[0;1;30m 7: [0m[1m[0;1;46mdeclare fp128 @logl(fp128) [0m
...
```
https://github.com/llvm/llvm-project/pull/96287
More information about the llvm-commits
mailing list