Skip to content

Revert "[InstCombine] Folding (icmp eq/ne (and X, -P2), INT_MIN)" #111236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vitalybuka
Copy link
Collaborator

Reverts #110880 because of exposed issue is Msan instrumentation #111212.

This reverts commit a646436.

Created using spr 1.3.4
@vitalybuka vitalybuka requested a review from nikic as a code owner October 5, 2024 06:20
@vitalybuka vitalybuka merged commit 574266c into main Oct 5, 2024
7 of 8 checks passed
@vitalybuka vitalybuka deleted the users/vitalybuka/spr/revert-instcombine-folding-icmp-eqne-and-x-p2-int_min branch October 5, 2024 06:20
@llvmbot
Copy link
Member

llvmbot commented Oct 5, 2024

@llvm/pr-subscribers-llvm-transforms

Author: Vitaly Buka (vitalybuka)

Changes

Reverts #110880 because of exposed issue is Msan instrumentation #111212.

This reverts commit a646436.


Full diff: https://github.com/llvm/llvm-project/pull/111236.diff

3 Files Affected:

  • (modified) llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp (-12)
  • (modified) llvm/test/Transforms/InstCombine/icmp-signmask.ll (+6-3)
  • (modified) llvm/test/Transforms/InstCombine/icmp.ll (+2-1)
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
index 12eec99e7d22bb..6c3fc987d9add2 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
@@ -5015,18 +5015,6 @@ Instruction *InstCombinerImpl::foldICmpBinOp(ICmpInst &I,
     }
   }
 
-  // (icmp eq/ne (X, -P2), INT_MIN)
-  //	-> (icmp slt/sge X, INT_MIN + P2)
-  if (ICmpInst::isEquality(Pred) && BO0 &&
-      match(I.getOperand(1), m_SignMask()) &&
-      match(BO0, m_And(m_Value(), m_NegatedPower2OrZero()))) {
-    // Will Constant fold.
-    Value *NewC = Builder.CreateSub(I.getOperand(1), BO0->getOperand(1));
-    return new ICmpInst(Pred == ICmpInst::ICMP_EQ ? ICmpInst::ICMP_SLT
-                                                  : ICmpInst::ICMP_SGE,
-                        BO0->getOperand(0), NewC);
-  }
-
   {
     // Similar to above: an unsigned overflow comparison may use offset + mask:
     // ((Op1 + C) & C) u<  Op1 --> Op1 != 0
diff --git a/llvm/test/Transforms/InstCombine/icmp-signmask.ll b/llvm/test/Transforms/InstCombine/icmp-signmask.ll
index 5424f7d7e8021f..bea8da2074ab0b 100644
--- a/llvm/test/Transforms/InstCombine/icmp-signmask.ll
+++ b/llvm/test/Transforms/InstCombine/icmp-signmask.ll
@@ -3,7 +3,8 @@
 
 define i1 @cmp_x_and_negp2_with_eq(i8 %x) {
 ; CHECK-LABEL: @cmp_x_and_negp2_with_eq(
-; CHECK-NEXT:    [[R:%.*]] = icmp slt i8 [[X:%.*]], -126
+; CHECK-NEXT:    [[ANDX:%.*]] = and i8 [[X:%.*]], -2
+; CHECK-NEXT:    [[R:%.*]] = icmp eq i8 [[ANDX]], -128
 ; CHECK-NEXT:    ret i1 [[R]]
 ;
   %andx = and i8 %x, -2
@@ -24,7 +25,8 @@ define i1 @cmp_x_and_negp2_with_eq_fail_not_signmask(i8 %x) {
 
 define <2 x i1> @cmp_x_and_negp2_with_ne(<2 x i8> %x) {
 ; CHECK-LABEL: @cmp_x_and_negp2_with_ne(
-; CHECK-NEXT:    [[R:%.*]] = icmp sgt <2 x i8> [[X:%.*]], <i8 -121, i8 -113>
+; CHECK-NEXT:    [[ANDX:%.*]] = and <2 x i8> [[X:%.*]], <i8 -8, i8 -16>
+; CHECK-NEXT:    [[R:%.*]] = icmp ne <2 x i8> [[ANDX]], <i8 -128, i8 -128>
 ; CHECK-NEXT:    ret <2 x i1> [[R]]
 ;
   %andx = and <2 x i8> %x, <i8 -8, i8 -16>
@@ -34,7 +36,8 @@ define <2 x i1> @cmp_x_and_negp2_with_ne(<2 x i8> %x) {
 
 define <2 x i1> @cmp_x_and_negp2_with_ne_or_z(<2 x i8> %x) {
 ; CHECK-LABEL: @cmp_x_and_negp2_with_ne_or_z(
-; CHECK-NEXT:    [[R:%.*]] = icmp sge <2 x i8> [[X:%.*]], <i8 -128, i8 -112>
+; CHECK-NEXT:    [[ANDX:%.*]] = and <2 x i8> [[X:%.*]], <i8 0, i8 -16>
+; CHECK-NEXT:    [[R:%.*]] = icmp ne <2 x i8> [[ANDX]], <i8 -128, i8 -128>
 ; CHECK-NEXT:    ret <2 x i1> [[R]]
 ;
   %andx = and <2 x i8> %x, <i8 0, i8 -16>
diff --git a/llvm/test/Transforms/InstCombine/icmp.ll b/llvm/test/Transforms/InstCombine/icmp.ll
index 17ed64b6e04d91..ecf21b8a42cf50 100644
--- a/llvm/test/Transforms/InstCombine/icmp.ll
+++ b/llvm/test/Transforms/InstCombine/icmp.ll
@@ -1116,7 +1116,8 @@ define i1 @test53(i32 %a, i32 %b) {
 
 define i1 @test54(i8 %a) {
 ; CHECK-LABEL: @test54(
-; CHECK-NEXT:    [[RET:%.*]] = icmp slt i8 [[A:%.*]], -64
+; CHECK-NEXT:    [[TMP1:%.*]] = and i8 [[A:%.*]], -64
+; CHECK-NEXT:    [[RET:%.*]] = icmp eq i8 [[TMP1]], -128
 ; CHECK-NEXT:    ret i1 [[RET]]
 ;
   %ext = zext i8 %a to i32

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/160/builds/6311

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/opt < /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/opt -passes=instcombine -S
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx64-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-sie-ubuntu-fast running on sie-linux-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/8732

Here is the relevant piece of the build log for the reference
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: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -passes=instcombine -S
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
�[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/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@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@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"
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-ubuntu running on as-builder-7 while building llvm at step 6 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/180/builds/6309

Here is the relevant piece of the build log for the reference
Step 6 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt < /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/opt -passes=instcombine -S
+ /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/build/bin/FileCheck /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-7/ramdisk/llvm-nvptx-nvidia-ubuntu/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder arc-builder running on arc-worker while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/5737

Here is the relevant piece of the build log for the reference
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: /buildbot/worker/arc-folder/build/bin/opt < /buildbot/worker/arc-folder/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /buildbot/worker/arc-folder/build/bin/FileCheck /buildbot/worker/arc-folder/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /buildbot/worker/arc-folder/build/bin/opt -passes=instcombine -S
/buildbot/worker/arc-folder/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /buildbot/worker/arc-folder/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-quick running on linaro-clang-aarch64-quick while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/5717

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt < /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt -passes=instcombine -S
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-rel-x86-64 running on ml-opt-rel-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/6415

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-rel-x86-64-b1/build/bin/opt < /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/ml-opt-rel-x86-64-b1/build/bin/opt -passes=instcombine -S
+ /b/ml-opt-rel-x86-64-b1/build/bin/FileCheck /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/ml-opt-rel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-dev-x86-64 running on ml-opt-dev-x86-64-b2 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/6502

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-dev-x86-64-b1/build/bin/opt < /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/FileCheck /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/ml-opt-dev-x86-64-b1/build/bin/opt -passes=instcombine -S
/b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/ml-opt-dev-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

Kyvangka1610 pushed a commit to Kyvangka1610/llvm-project that referenced this pull request Oct 5, 2024
…lvm#111236)

Reverts llvm#110880 because of exposed issue is Msan instrumentation
llvm#111212.

This reverts commit a646436.
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder ml-opt-devrel-x86-64 running on ml-opt-devrel-x86-64-b1 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/175/builds/6434

Here is the relevant piece of the build log for the reference
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: /b/ml-opt-devrel-x86-64-b1/build/bin/opt < /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/ml-opt-devrel-x86-64-b1/build/bin/opt -passes=instcombine -S
+ /b/ml-opt-devrel-x86-64-b1/build/bin/FileCheck /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/ml-opt-devrel-x86-64-b1/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-cmake-x86_64-avx512-linux running on avx512-intel64 while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/4770

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt < /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/opt -passes=instcombine -S
+ /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/stage1/bin/FileCheck /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /localdisk2/buildbot/llvm-worker/clang-cmake-x86_64-avx512-linux/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-armv8-quick running on linaro-clang-armv8-quick while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/5523

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/opt < /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/opt -passes=instcombine -S
+ /home/tcwg-buildbot/worker/clang-armv8-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-armv8-quick/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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@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@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"
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

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

Here is the relevant piece of the build log for the reference
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@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@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
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx64-nvidia-win running on as-builder-8 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/155/builds/2999

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe < C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll -passes=instcombine -S | c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe' -passes=instcombine -S
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll'
# .---command stderr------------
# | C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
# |               ^
# | <stdin>:1604:28: note: scanning from here
# | define i1 @and_slt_to_mask(i8 %x) {
# |                            ^
# | <stdin>:1606:2: note: possible intended match here
# |  %and2 = icmp eq i8 %1, -128
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1599:  %cp2 = icmp sle i8 %x, %pow2orz 
# |           1600:  %r = or i1 %c0, %cp2 
# |           1601:  ret i1 %r 
# |           1602: } 
# |           1603:  
# |           1604: define i1 @and_slt_to_mask(i8 %x) { 
# | next:3338'0                                X~~~~~~~~ error: no match found
# |           1605:  %1 = and i8 %x, -2 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~
# |           1606:  %and2 = icmp eq i8 %1, -128 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3338'1      ?                            possible intended match
# |           1607:  ret i1 %and2 
# | next:3338'0     ~~~~~~~~~~~~~~
# |           1608: } 
# | next:3338'0     ~~
# |           1609:  
# | next:3338'0     ~
# |           1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-debian-cpp20 running on clang-debian-cpp20 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/4512

Here is the relevant piece of the build log for the reference
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: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt < /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/opt -passes=instcombine -S
+ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/bin/FileCheck /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder ppc64le-lld-multistage-test running on ppc64le-lld-multistage-test while building llvm at step 7 "test-build-stage1-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/4111

Here is the relevant piece of the build log for the reference
Step 7 (test-build-stage1-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: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/opt -passes=instcombine -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage1/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...
Step 13 (test-build-stage2-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: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/opt < /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/opt -passes=instcombine -S
+ /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/build/stage2/bin/FileCheck /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-lld-multistage-test/ppc64le-lld-multistage-test/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder premerge-monolithic-linux running on premerge-linux-1 while building llvm at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/11019

Here is the relevant piece of the build log for the reference
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 (stderr):
--
RUN: at line 2: /build/buildbot/premerge-monolithic-linux/build/bin/opt < /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /build/buildbot/premerge-monolithic-linux/build/bin/opt -passes=instcombine -S
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-ubuntu running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/187/builds/1669

Here is the relevant piece of the build log for the reference
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: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/opt < /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/opt -passes=instcombine -S
+ /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/expensive-checks/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-nvptx-nvidia-win running on as-builder-8 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/54/builds/2874

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\opt.exe < C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll -passes=instcombine -S | c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\opt.exe' -passes=instcombine -S
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll'
# .---command stderr------------
# | C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
# |               ^
# | <stdin>:1604:28: note: scanning from here
# | define i1 @and_slt_to_mask(i8 %x) {
# |                            ^
# | <stdin>:1606:2: note: possible intended match here
# |  %and2 = icmp eq i8 %1, -128
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1599:  %cp2 = icmp sle i8 %x, %pow2orz 
# |           1600:  %r = or i1 %c0, %cp2 
# |           1601:  ret i1 %r 
# |           1602: } 
# |           1603:  
# |           1604: define i1 @and_slt_to_mask(i8 %x) { 
# | next:3338'0                                X~~~~~~~~ error: no match found
# |           1605:  %1 = and i8 %x, -2 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~
# |           1606:  %and2 = icmp eq i8 %1, -128 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3338'1      ?                            possible intended match
# |           1607:  ret i1 %and2 
# | next:3338'0     ~~~~~~~~~~~~~~
# |           1608: } 
# | next:3338'0     ~~
# |           1609:  
# | next:3338'0     ~
# |           1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-arm64-windows-msvc running on linaro-armv8-windows-msvc-04 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/161/builds/2545

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\opt.exe < C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\InstCombine\and-or-icmps.ll -passes=instcombine -S | c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\opt.exe' -passes=instcombine -S
# executed command: 'c:\users\tcwg\llvm-worker\clang-arm64-windows-msvc\stage1\bin\filecheck.exe' 'C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\InstCombine\and-or-icmps.ll'
# .---command stderr------------
# | C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\InstCombine\and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
# |               ^
# | <stdin>:1604:28: note: scanning from here
# | define i1 @and_slt_to_mask(i8 %x) {
# |                            ^
# | <stdin>:1606:2: note: possible intended match here
# |  %and2 = icmp eq i8 %1, -128
# |  ^
# | 
# | Input file: <stdin>
# | Check file: C:\Users\tcwg\llvm-worker\clang-arm64-windows-msvc\llvm\llvm\test\Transforms\InstCombine\and-or-icmps.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |              .
# |              .
# |              .
# |           1599:  %cp2 = icmp sle i8 %x, %pow2orz 
# |           1600:  %r = or i1 %c0, %cp2 
# |           1601:  ret i1 %r 
# |           1602: } 
# |           1603:  
# |           1604: define i1 @and_slt_to_mask(i8 %x) { 
# | next:3338'0                                X~~~~~~~~ error: no match found
# |           1605:  %1 = and i8 %x, -2 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~
# |           1606:  %and2 = icmp eq i8 %1, -128 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:3338'1      ?                            possible intended match
# |           1607:  ret i1 %and2 
# | next:3338'0     ~~~~~~~~~~~~~~
# |           1608: } 
# | next:3338'0     ~~
# |           1609:  
# | next:3338'0     ~
# |           1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
# | next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder lld-x86_64-ubuntu-fast running on as-builder-4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/33/builds/4298

Here is the relevant piece of the build log for the reference
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: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt < /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/opt -passes=instcombine -S
+ /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/build/bin/FileCheck /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/buildbot/worker/as-builder-4/ramdisk/lld-x86_64/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-aarch64-global-isel running on linaro-clang-aarch64-global-isel while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/125/builds/2583

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/opt < /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-global-isel/stage1/bin/opt -passes=instcombine -S
/home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-aarch64-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-armv7-global-isel running on linaro-clang-armv7-global-isel while building llvm at step 7 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/39/builds/2070

Here is the relevant piece of the build log for the reference
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/opt < /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/opt -passes=instcombine -S
+ /home/tcwg-buildbot/worker/clang-armv7-global-isel/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /home/tcwg-buildbot/worker/clang-armv7-global-isel/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-darwin running on doug-worker-3 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/23/builds/3580

Here is the relevant piece of the build log for the reference
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: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt < /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/opt -passes=instcombine -S
+ /Volumes/RAMDisk/buildbot-root/x86_64-darwin/build/bin/FileCheck /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /Volumes/RAMDisk/buildbot-root/x86_64-darwin/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder reverse-iteration running on hexagon-build-02 while building llvm at step 6 "check_all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/110/builds/1606

Here is the relevant piece of the build log for the reference
Step 6 (check_all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.obj/bin/opt < /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.obj/bin/FileCheck /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.obj/bin/FileCheck /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.obj/bin/opt -passes=instcombine -S
/local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /local/mnt/workspace/bots/hexagon-build-02/reverse-iteration/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 5, 2024

LLVM Buildbot has detected a new failure on builder clang-hexagon-elf running on hexagon-build-03 while building llvm at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/40/builds/2153

Here is the relevant piece of the build log for the reference
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/stage1/bin/opt < /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/stage1/bin/FileCheck /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/stage1/bin/opt -passes=instcombine -S
+ /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/stage1/bin/FileCheck /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /local/mnt/workspace/bots/hexagon-build-03/clang-hexagon-elf/llvm/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

Kyvangka1610 added a commit to Kyvangka1610/llvm-project that referenced this pull request Oct 5, 2024
* commit 'FETCH_HEAD':
  [clang][bytecode] Handle UETT_OpenMPRequiredSimdAlign (llvm#111259)
  [mlir][polynomial] Add and verify constraints of coefficientModulus for ringAttr (llvm#111016)
  [clang][bytecode] Save a per-Block IsWeak bit (llvm#111248)
  [analyzer] Fix wrong `builtin_*_overflow` return type (llvm#111253)
  [SelectOpt] Don't convert constant selects to branches. (llvm#110858)
  [InstCombine] Update and-or-icmps.ll after 574266c. NFC
  [Instcombine] Test for more gep canonicalization
  [NFC][TableGen] Change `CodeGenIntrinsics` to use const references (llvm#111219)
  Add warning message to `session save` when transcript isn't saved. (llvm#109020)
  [RISCV][TTI] Recognize CONCAT_VECTORS if a shufflevector mask is multiple insert subvector. (llvm#110457)
  Revert "[InstCombine] Folding `(icmp eq/ne (and X, -P2), INT_MIN)`" (llvm#111236)
  [NFC][lsan] Add SuspendAllThreads traces
  [lsan] Add `thread_suspend_fail` flag

Signed-off-by: kyvangka1610 <[email protected]>
@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 6, 2024

LLVM Buildbot has detected a new failure on builder llvm-clang-x86_64-expensive-checks-debian running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/6659

Here is the relevant piece of the build log for the reference
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: /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt < /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/opt -passes=instcombine -S
+ /b/1/llvm-clang-x86_64-expensive-checks-debian/build/bin/FileCheck /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
/b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/1/llvm-clang-x86_64-expensive-checks-debian/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 6, 2024

LLVM Buildbot has detected a new failure on builder llvm-x86_64-debian-dylib running on gribozavr4 while building llvm at step 7 "test-build-unified-tree-check-llvm".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/9487

Here is the relevant piece of the build log for the reference
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/InstCombine/and-or-icmps.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/opt < /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/1/llvm-x86_64-debian-dylib/build/bin/opt -passes=instcombine -S
/b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

@llvm-ci
Copy link
Collaborator

llvm-ci commented Oct 6, 2024

LLVM Buildbot has detected a new failure on builder clang-x86_64-debian-fast running on gribozavr4 while building llvm at step 6 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/56/builds/9194

Here is the relevant piece of the build log for the reference
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: /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt < /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll -passes=instcombine -S | /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/FileCheck /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll
+ /b/1/clang-x86_64-debian-fast/llvm.obj/bin/opt -passes=instcombine -S
/b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll:3338:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
              ^
<stdin>:1604:28: note: scanning from here
define i1 @and_slt_to_mask(i8 %x) {
                           ^
<stdin>:1606:2: note: possible intended match here
 %and2 = icmp eq i8 %1, -128
 ^

Input file: <stdin>
Check file: /b/1/clang-x86_64-debian-fast/llvm.src/llvm/test/Transforms/InstCombine/and-or-icmps.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
             .
             .
             .
          1599:  %cp2 = icmp sle i8 %x, %pow2orz 
          1600:  %r = or i1 %c0, %cp2 
          1601:  ret i1 %r 
          1602: } 
          1603:  
          1604: define i1 @and_slt_to_mask(i8 %x) { 
next:3338'0                                X~~~~~~~~ error: no match found
          1605:  %1 = and i8 %x, -2 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~
          1606:  %and2 = icmp eq i8 %1, -128 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:3338'1      ?                            possible intended match
          1607:  ret i1 %and2 
next:3338'0     ~~~~~~~~~~~~~~
          1608: } 
next:3338'0     ~~
          1609:  
next:3338'0     ~
          1610: define i1 @and_slt_to_mask_off_by_one(i8 %x) { 
next:3338'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          1611:  %cmp = icmp slt i8 %x, -123 
             .
...

goldsteinn added a commit that referenced this pull request Oct 23, 2024
@frobtech frobtech mentioned this pull request Oct 25, 2024
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants