[llvm] [LV] Add coverage for fixing-up scalar resume values (PR #160492)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 04:09:14 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-b-1` while building `llvm` at step 4 "annotate".

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

<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           : 46894 (97.53%)
  Expectedly Failed:    26 (0.05%)
[1429/1431] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1430/1431] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/wasm-ld
-- Testing: 61251 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll (48745 of 61251)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/opt -passes=loop-vectorize -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/opt -passes=loop-vectorize -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# .---command stderr------------
# | /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll:33:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[N_VEC_REMAINING:%.*]] = sub i64 [[REM]], [[N_VEC]]
# |               ^
# | <stdin>:33:23: note: scanning from here
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:33:23: note: with "REM" equal to "%rem"
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:33:23: note: with "N_VEC" equal to "%n.vec"
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:38:19: note: possible intended match here
# |  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
# |                   ^
# | 
# | Input file: <stdin>
# | Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           28:  
# |           29: middle.block: ; preds = %vector.body 
Step 7 (check) failure: check (failure)
...
  Passed           : 46894 (97.53%)
  Expectedly Failed:    26 (0.05%)
[1429/1431] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
[1430/1431] Running the LLVM regression tests
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/ld.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using lld-link: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/lld-link
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using ld64.lld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/ld64.lld
llvm-lit: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/utils/lit/lit/llvm/config.py:530: note: using wasm-ld: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/wasm-ld
-- Testing: 61251 tests, 60 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: LLVM :: Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll (48745 of 61251)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/opt -passes=loop-vectorize -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll | /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/opt -passes=loop-vectorize -S /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# executed command: /var/lib/buildbot/fuchsia-x86_64-linux/build/llvm-build-p2pjbqr3/bin/FileCheck /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# .---command stderr------------
# | /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll:33:15: error: CHECK-NEXT: expected string not found in input
# | ; CHECK-NEXT: [[N_VEC_REMAINING:%.*]] = sub i64 [[REM]], [[N_VEC]]
# |               ^
# | <stdin>:33:23: note: scanning from here
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:33:23: note: with "REM" equal to "%rem"
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:33:23: note: with "N_VEC" equal to "%n.vec"
# | vec.epilog.iter.check: ; preds = %middle.block
# |                       ^
# | <stdin>:38:19: note: possible intended match here
# |  %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
# |                   ^
# | 
# | Input file: <stdin>
# | Check file: /var/lib/buildbot/fuchsia-x86_64-linux/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           28:  
# |           29: middle.block: ; preds = %vector.body 

```

</details>

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


More information about the llvm-commits mailing list