[llvm] InstCombine: Add baseline test for fcmp-0-select combine (PR #172380)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 21 06:43:03 PST 2026
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/31965
<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/select-fcmp-fmul-zero-absorbing-value.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -S -p=instcombine < /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.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/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/opt -S -p=instcombine
# note: command had no output on stdout or stderr
# executed command: /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/select-fcmp-fmul-zero-absorbing-value.ll
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.ll:376:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[MUL_FABS_X:%.*]] = fmul float [[FABS_X]], 0x4170000000000000
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:179:52: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0m %fabs.x = call nnan float @llvm.fabs.f32(float %x)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:179:52: [0m[0;1;30mnote: [0m[1mwith "FABS_X" equal to "%fabs.x"
[0m# | [1m[0m %fabs.x = call nnan float @llvm.fabs.f32(float %x)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:180:21: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %mul.fabs.x = fmul nnan float %fabs.x, 0x4170000000000000
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/select-fcmp-fmul-zero-absorbing-value.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[0mdefine float @select_oeq_fmul_fabs_or_fabs_src(float %x) {[0;1;46m [0m
# | [0;1;32mlabel:5'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:5'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:6'0 ^~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:6'1 ^~ captured var "X"
[0m# | [0;1;32m[0m[0;1;30m 5: [0m[1m[0;1;46m [0m%fabs.x = call float @llvm.fabs.f32(float %x)[0;1;46m [0m
# | [0;1;32mnext:7'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:7'1 with "X" equal to "%x"
[0m# | [0;1;32m[0m[0;1;32mnext:7'2 ^~~~~~~ captured var "FABS_X"
[0m# | [0;1;32m[0m[0;1;30m 6: [0m[1m[0;1;46m [0m%mul.fabs.x = fmul float %fabs.x, 0x4170000000000000[0;1;46m [0m
# | [0;1;32mnext:8'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:8'1 with "FABS_X" equal to "%fabs.x"
[0m# | [0;1;32m[0m[0;1;32mnext:8'2 ^~~~~~~~~~~ captured var "MUL_FABS_X"
[0m# | [0;1;32m[0m[0;1;30m 7: [0m[1m[0;1;46m [0m%x.is.zero = fcmp oeq float %x, 0.000000e+00[0;1;46m [0m
# | [0;1;32mnext:9'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:9'1 with "X" equal to "%x"
...
```
</details>
https://github.com/llvm/llvm-project/pull/172380
More information about the llvm-commits
mailing list