[llvm] [InstCombine] simplify `icmp pred x, ~x` (PR #73990)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 6 08:04:04 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `llvm` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/11693
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/icmp-of-xor-x.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe < Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll -passes=instcombine -S | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe' -passes=instcombine -S
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll'
# .---command stderr------------
# | [1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll:127:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:66:30: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine <2 x i1> @src_sgt_vec(<2 x i8> %x) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:67:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %cmp = icmp sgt <2 x i8> %x, splat (i8 -1)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll:148:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:76:30: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine <2 x i1> @src_sge_vec(<2 x i8> %x) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:77:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %cmp = icmp sgt <2 x i8> %x, splat (i8 -1)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll:169:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:86:30: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine <2 x i1> @src_ult_vec(<2 x i8> %x) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:87:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %cmp = icmp sgt <2 x i8> %x, splat (i8 -1)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll:190:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:96:30: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine <2 x i1> @src_ule_vec(<2 x i8> %x) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:97:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %cmp = icmp sgt <2 x i8> %x, splat (i8 -1)
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\icmp-of-xor-x.ll:200:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[CMP:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -1, i8 -1>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:101:34: [0m[0;1;30mnote: [0m[1mscanning from here
...
```
</details>
https://github.com/llvm/llvm-project/pull/73990
More information about the llvm-commits
mailing list