[llvm] Revert "[InstCombine] Folding `(icmp eq/ne (and X, -P2), INT_MIN)`" (PR #111236)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 23:35:56 PDT 2024
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/6011
<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/and-or-icmps.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\and-or-icmps.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\and-or-icmps.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\and-or-icmps.ll'
# .---command stderr------------
# | [1mZ:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll:3338:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1604:28: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mdefine i1 @and_slt_to_mask(i8 %x) {
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1606:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %and2 = icmp eq i8 %1, -128
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.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;46mdeclare void @use(i1) [0m
# | [0;1;30m 5: [0m[1m[0;1;46m [0m
# | [0;1;30m 6: [0m[1m[0;1;46mdeclare void @use32(i32) [0m
# | [0;1;30m 7: [0m[1m[0;1;46m [0m
# | [0;1;30m 8: [0m[1m[0;1;46mdefine i1 [0m at PR1817_1([0;1;46mi32 %X) { [0m
# | [0;1;32mlabel:8'0 ^~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:8'1 ^~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 9: [0m[1m[0;1;46m [0m%B = icmp ult i32 %X, 10[0;1;46m [0m
# | [0;1;32mnext:9'0 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:9'1 ^~ captured var "B"
[0m# | [0;1;32m[0m[0;1;32mnext:9'2 ^~ captured var "X"
[0m# | [0;1;32m[0m[0;1;30m 10: [0m[1m[0;1;46m [0mret i1 %B[0;1;46m [0m
# | [0;1;32mnext:10'0 ^~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:10'1 with "B" equal to "%B"
[0m# | [0;1;32m[0m[0;1;30m 11: [0m[1m[0;1;46m} [0m
# | [0;1;30m 12: [0m[1m[0;1;46m [0m
# | [0;1;30m 13: [0m[1m[0;1;46mdefine i1 [0m at PR1817_1_logical([0;1;46mi32 %X) { [0m
# | [0;1;32mlabel:19'0 ^~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:19'1 ^~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 14: [0m[1m[0;1;46m [0m%B = icmp ult i32 %X, 10[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/111236
More information about the llvm-commits
mailing list