[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:42:35 PDT 2025


llvm-ci wrote:

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/12256

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

```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/single-early-exit-interleave-only.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 -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\LoopVectorize\single-early-exit-interleave-only.ll | 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\LoopVectorize\single-early-exit-interleave-only.ll
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\build\bin\opt.exe' -p loop-vectorize -force-vector-width=1 -force-vector-interleave=2 -S 'C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\LoopVectorize\single-early-exit-interleave-only.ll'
# 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\LoopVectorize\single-early-exit-interleave-only.ll'
# .---command stderr------------
# | C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\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
# |  ^
# | C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\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: C:\buildbot\as-builder-8\llvm-nvptx64-nvidia-win\llvm-project\llvm\test\Transforms\LoopVectorize\single-early-exit-interleave-only.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           13:  %offset.idx = trunc i32 %index to i8 
# |           14:  %0 = add i8 %offset.idx, 1 
# |           15:  %1 = shl nuw i8 1, %offset.idx 
# |           16:  %2 = shl nuw i8 1, %0 
# |           17:  %3 = and i8 %1, %g 
...

```

</details>

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


More information about the llvm-commits mailing list