[llvm] [InstCombine] Transform (fcmp + fadd + sel) into (fcmp + sel + fadd) (PR #106492)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 11 12:42:07 PST 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/8259
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/fcmp-fadd-select.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/InstCombine/fcmp-fadd-select.ll -passes=instcombine -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/InstCombine/fcmp-fadd-select.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -passes=instcombine -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/InstCombine/fcmp-fadd-select.ll
[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:62:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], <float 1.000000e+00, float 1.000000e+00>
[0;1;32m ^
[0m[1m<stdin>:29:99: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:29:99: [0m[0;1;30mnote: [0m[1mwith "SEL_NEW" equal to "%sel"
[0m %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:30:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00)
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:130:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], <float 1.000000e+00, float 1.000000e+00>
[0;1;32m ^
[0m[1m<stdin>:59:99: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:59:99: [0m[0;1;30mnote: [0m[1mwith "SEL_NEW" equal to "%sel"
[0m %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:60:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00)
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:198:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], <float 1.000000e+00, float 1.000000e+00>
[0;1;32m ^
[0m[1m<stdin>:89:99: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:89:99: [0m[0;1;30mnote: [0m[1mwith "SEL_NEW" equal to "%sel"
[0m %sel = call nnan nsz <2 x float> @llvm.maxnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
[0m[1m<stdin>:90:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %add = fadd nnan nsz <2 x float> %sel, splat (float 1.000000e+00)
[0;1;32m ^
[0m[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll:266:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m; CHECK-NEXT: [[ADD_NEW:%.*]] = fadd nnan nsz <2 x float> [[SEL_NEW]], <float 1.000000e+00, float 1.000000e+00>
[0;1;32m ^
[0m[1m<stdin>:119:99: [0m[0;1;30mnote: [0m[1mscanning from here
[0m %sel = call nnan nsz <2 x float> @llvm.minnum.v2f32(<2 x float> %in, <2 x float> zeroinitializer)
[0;1;32m ^
...
```
</details>
https://github.com/llvm/llvm-project/pull/106492
More information about the llvm-commits
mailing list