[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:01 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/7127
<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/and-or-icmps.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -passes=instcombine -S
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
[1m/Users/buildbot/buildbot-root/aarch64-darwin/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; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
[0;1;32m ^
[0m[1m<stdin>:1604:28: [0m[0;1;30mnote: [0m[1mscanning from here
[0mdefine i1 @and_slt_to_mask(i8 %x) {
[0;1;32m ^
[0m[1m<stdin>:1606:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m %and2 = icmp eq i8 %1, -128
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/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;32mlabel:8'1 ^~~~~~~~~~
[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;32mnext:9'1 ^~ captured var "B"
[0m[0;1;32mnext:9'2 ^~ captured var "X"
[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;32mnext:10'1 with "B" equal to "%B"
[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;32mlabel:19'1 ^~~~~~~~~~~~~~~~~~
[0m[0;1;30m 14: [0m[1m[0;1;46m [0m%B = icmp ult i32 %X, 10[0;1;46m [0m
[0;1;32mnext:20'0 ^~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;32mnext:20'1 ^~ captured var "B"
...
```
</details>
https://github.com/llvm/llvm-project/pull/111236
More information about the llvm-commits
mailing list