[llvm] [VPlan] Introduce m_Cmp; match more compares (PR #154771)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 05:49:03 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `llvm` at step 4 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/fuchsia-linux.py ...' (failure)
...
  Passed           : 46702 (97.64%)
  Expectedly Failed:    26 (0.05%)
[1410/1412] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1411/1412] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/wasm-ld
-- Testing: 60798 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/single-early-exit-interleave-only.ll (49338 of 60798)
******************** TEST 'LLVM :: Transforms/LoopVectorize/single-early-exit-interleave-only.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/opt -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/opt -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll:22:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP5:%.*]] = icmp eq i8 [[TMP3]], 0
              ^
<stdin>:18:20: note: scanning from here
 %4 = and i8 %2, %g
                   ^
<stdin>:18:20: note: with "TMP3" equal to "%3"
 %4 = and i8 %2, %g
                   ^
<stdin>:43:2: note: possible intended match here
 %c = icmp eq i8 %a, 0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll:91:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP5:%.*]] = icmp eq i32 [[TMP3]], 0
              ^
<stdin>:71:32: note: scanning from here
 %4 = load i32, ptr %2, align 4
                               ^
<stdin>:71:32: note: with "TMP3" equal to "%3"
 %4 = load i32, ptr %2, align 4
                               ^
<stdin>:96:2: note: possible intended match here
 %c = icmp eq i32 %l, 0
 ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll

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

Step 7 (check) failure: check (failure)
...
  Passed           : 46702 (97.64%)
  Expectedly Failed:    26 (0.05%)
[1410/1412] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1411/1412] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:527: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/wasm-ld
-- Testing: 60798 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: LLVM :: Transforms/LoopVectorize/single-early-exit-interleave-only.ll (49338 of 60798)
******************** TEST 'LLVM :: Transforms/LoopVectorize/single-early-exit-interleave-only.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/opt -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll # RUN: at line 2
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/opt -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
+ /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-yysv5us7/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll:22:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP5:%.*]] = icmp eq i8 [[TMP3]], 0
              ^
<stdin>:18:20: note: scanning from here
 %4 = and i8 %2, %g
                   ^
<stdin>:18:20: note: with "TMP3" equal to "%3"
 %4 = and i8 %2, %g
                   ^
<stdin>:43:2: note: possible intended match here
 %c = icmp eq i8 %a, 0
 ^
/var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll:91:15: error: CHECK-NEXT: expected string not found in input
; CHECK-NEXT: [[TMP5:%.*]] = icmp eq i32 [[TMP3]], 0
              ^
<stdin>:71:32: note: scanning from here
 %4 = load i32, ptr %2, align 4
                               ^
<stdin>:71:32: note: with "TMP3" equal to "%3"
 %4 = load i32, ptr %2, align 4
                               ^
<stdin>:96:2: note: possible intended match here
 %c = icmp eq i32 %l, 0
 ^

Input file: <stdin>
Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/single-early-exit-interleave-only.ll

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


```

</details>

https://github.com/llvm/llvm-project/pull/154771


More information about the llvm-commits mailing list