[llvm] [VPlan] Add VPlan-dump-based test for predication (PR #180794)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 17 03:23:05 PST 2026
llvm-ci wrote:
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/46923
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/VPlan/predicator.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -disable-output < /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll -p loop-vectorize -vplan-print-after=introduceMasksAndLinearize -vplan-print-vector-region-scope 2>&1 | /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/LoopVectorize/VPlan/predicator.ll
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/opt -disable-output -p loop-vectorize -vplan-print-after=introduceMasksAndLinearize -vplan-print-vector-region-scope
# note: command had no output on stdout or stderr
# executed command: /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/LoopVectorize/VPlan/predicator.ll
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/Transforms/LoopVectorize/VPlan/predicator.ll:101:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: BLEND ir<%phi4> = ir<%add3>/vp<[[VP7]]> ir<%add0>/vp<[[VP8]]>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:60:33: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0m EMIT vp<%9> = or vp<%7>, vp<%8>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:60:33: [0m[0;1;30mnote: [0m[1mwith "VP7" equal to "%7"
[0m# | [1m[0m EMIT vp<%9> = or vp<%7>, vp<%8>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:60:33: [0m[0;1;30mnote: [0m[1mwith "VP8" equal to "%8"
[0m# | [1m[0m EMIT vp<%9> = or vp<%7>, vp<%8>
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:61:2: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m BLEND ir<%phi4> = ir<%add3>/vp<%7> ir<%iv>/vp<%8>
# | [0;1;32m ^
[0m# | [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/LoopVectorize/VPlan/predicator.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46mVPlan for loop in [0m'diamond_phi'[0;1;46m after VPlanTransforms::introduceMasksAndLinearize [0m
# | [0;1;32mlabel:5'0 ^~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:5'1 ^~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 2: [0m[1m[0;1;46m[0m<x1> vector loop: {[0;1;46m [0m
# | [0;1;32mnext:6 ^~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 3: [0m[1m[0;1;46m [0mvector.body:[0;1;46m [0m
# | [0;1;32mnext:7 ^~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 4: [0m[1m[0;1;46m [0mEMIT vp<%3> = CANONICAL-INDUCTION ir<0>, vp<%index.next>[0;1;46m [0m
# | [0;1;32mnext:8'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:8'1 ^~ captured var "VP3"
[0m# | [0;1;32m[0m[0;1;30m 5: [0m[1m[0;1;46m [0mir<%iv> = WIDEN-INDUCTION nuw nsw ir<0>, ir<1>, vp<%0>[0;1;46m [0m
# | [0;1;32mnext:9'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:9'1 ^~ captured var "VP0"
[0m# | [0;1;32m[0m[0;1;30m 6: [0m[1m[0;1;46m [0mEMIT ir<%gep> = getelementptr ir<%a>, ir<%iv>[0;1;46m [0m
# | [0;1;32mnext:10 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;30m 7: [0m[1m[0;1;46m [0mEMIT ir<%c0> = icmp sle ir<%iv>, ir<0>[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/180794
More information about the llvm-commits
mailing list