[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:02:02 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-5` 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/28178
<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/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
/Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll | /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# executed command: /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# note: command had no output on stdout or stderr
# executed command: /Volumes/ExternalSSD/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# .---command stderr------------
# | [1m/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll:33:15: [0m[0;1;31merror: [0m[1mCHECK-NEXT: expected string not found in input
[0m# | [1m[0m; CHECK-NEXT: [[N_VEC_REMAINING:%.*]] = sub i64 [[REM]], [[N_VEC]]
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:33:23: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0mvec.epilog.iter.check: ; preds = %middle.block
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:33:23: [0m[0;1;30mnote: [0m[1mwith "REM" equal to "%rem"
[0m# | [1m[0mvec.epilog.iter.check: ; preds = %middle.block
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:33:23: [0m[0;1;30mnote: [0m[1mwith "N_VEC" equal to "%n.vec"
[0m# | [1m[0mvec.epilog.iter.check: ; preds = %middle.block
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:38:19: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m# | [1m[0m %vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
# | [0;1;32m ^
[0m# | [0;1;32m[0m
# | Input file: <stdin>
# | Check file: /Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | [1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll' [0m
# | [0;1;30m 2: [0m[1m[0;1;46msource_filename = "/Users/buildbot/buildbot-root2/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/epilogue-vectorization-fix-scalar-resume-values.ll" [0m
# | [0;1;30m 3: [0m[1m[0;1;46mtarget datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32" [0m
# | [0;1;30m 4: [0m[1m[0;1;46mtarget triple = "aarch64" [0m
# | [0;1;30m 5: [0m[1m[0;1;46m [0m
# | [0;1;30m 6: [0m[1m[0;1;46m[0mdefine void @epilogue_vectorization_fix_scalar_resume_values(ptr %dst, i64 %n) {[0;1;46m [0m
# | [0;1;32mlabel:9'0 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mlabel:9'1 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:10'0 ^~~~~~~~~~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32msame:10'1 ^~~~ captured var "DST"
[0m# | [0;1;32m[0m[0;1;32msame:10'2 ^~ captured var "N"
[0m# | [0;1;32m[0m[0;1;30m 7: [0m[1m[0;1;46m[0miter.check:[0;1;46m [0m
# | [0;1;32mnext:11'0 ^~~~~~~~~~~
[0m# | [0;1;32m[0m[0;1;32mnext:11'1 ^~~~~~~~~~ captured var "ITER_CHECK"
[0m# | [0;1;32m[0m[0;1;30m 8: [0m[1m[0;1;46m [0m%rem = urem i64 %n, 3[0;1;46m [0m
# | [0;1;32mnext:12'0 ^~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/160492
More information about the llvm-commits
mailing list