[llvm] [LoopVectorize] Use CodeSize as the cost kind for minsize (PR #124119)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 27 03:37:04 PST 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/15358
<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/optsize_minsize.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 4: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll --check-prefix=DEFAULT
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -S
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll --check-prefix=DEFAULT
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll:23:17: [0m[0;1;31merror: [0m[1mDEFAULT-NEXT: is not on the line after the previous match
[0m; DEFAULT-NEXT: br label %[[VECTOR_BODY:.*]]
[0;1;32m ^
[0m[1m<stdin>:17:2: [0m[0;1;30mnote: [0m[1m'next' match was here
[0m br label %vector.body
[0;1;32m ^
[0m[1m<stdin>:14:11: [0m[0;1;30mnote: [0m[1mprevious match ended here
[0mvector.ph: ; preds = %entry
[0;1;32m ^
[0m[1m<stdin>:15:1: [0m[0;1;30mnote: [0m[1mnon-matching line after previous match is here
[0m %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %x, i64 0
[0;1;32m^
[0m[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll:695:17: [0m[0;1;31merror: [0m[1mDEFAULT-NEXT: is not on the line after the previous match
[0m; DEFAULT-NEXT: [[TMP10:%.*]] = call <vscale x 16 x i8> @llvm.stepvector.nxv16i8()
[0;1;32m ^
[0m[1m<stdin>:357:2: [0m[0;1;30mnote: [0m[1m'next' match was here
[0m %10 = call <vscale x 16 x i8> @llvm.stepvector.nxv16i8()
[0;1;32m ^
[0m[1m<stdin>:350:105: [0m[0;1;30mnote: [0m[1mprevious match ended here
[0m %active.lane.mask.entry = call <vscale x 16 x i1> @llvm.get.active.lane.mask.nxv16i1.i64(i64 0, i64 15)
[0;1;32m ^
[0m[1m<stdin>:351:1: [0m[0;1;30mnote: [0m[1mnon-matching line after previous match is here
[0m %broadcast.splatinsert = insertelement <vscale x 16 x i8> poison, i8 %a, i64 0
[0;1;32m^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/optsize_minsize.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m; ModuleID = '<stdin>' [0m
[0;1;30m 2: [0m[1m[0;1;46msource_filename = "<stdin>" [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-unknown-linux-gnu" [0m
[0;1;30m 5: [0m[1m[0;1;46m [0m
[0;1;30m 6: [0m[1m[0;1;46m at A = global [1000 x i16] zeroinitializer, align 2 [0m
[0;1;30m 7: [0m[1m[0;1;46m at B = global [1000 x i32] zeroinitializer, align 4 [0m
[0;1;30m 8: [0m[1m[0;1;46m at C = global [1000 x i32] zeroinitializer, align 4 [0m
[0;1;30m 9: [0m[1m[0;1;46m [0m
[0;1;30m 10: [0m[1m[0;1;46m[0mdefine void @always_vectorize(ptr %p, i32 %x) {[0;1;46m [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/124119
More information about the llvm-commits
mailing list