[llvm] [LV][VPlan] Remove any-of reduction from precomputeCost. NFC (PR #117109)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 19:06:30 PST 2024
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/9989
<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/select-costs.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll -passes=loop-vectorize -debug-only=loop-vectorize -disable-output -S 2>&1 | /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -passes=loop-vectorize -debug-only=loop-vectorize -disable-output -S
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/FileCheck /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
[1m/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll:54:10: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m; CHECK: any-of reduction %all.off = select i1 %cmp1, i1 %all.off.next, i1 false
[0;1;32m ^
[0m[1m<stdin>:806:21: [0m[0;1;30mnote: [0m[1mscanning from here
[0mCost of 1 for VF 16: induction instruction %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
[0;1;32m ^
[0m[1m<stdin>:832:47: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0mLV: Found an estimated cost of 1 for VF 1 For instruction: %all.off = select i1 %cmp1, i1 %all.off.next, i1 false
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m [0m
[0;1;30m 2: [0m[1m[0;1;46m[0mLV: Checking a loop in 'selects_1'[0;1;46m from <stdin> [0m
[0;1;32mcheck:8 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mLV: Loop hints: force=? width=0 interleave=0 [0m
[0;1;30m 4: [0m[1m[0;1;46mLV: Found a loop: for.body [0m
[0;1;30m 5: [0m[1m[0;1;46mLV: Found an induction variable. [0m
[0;1;30m 6: [0m[1m[0;1;46mLV: We can vectorize this loop! [0m
[0;1;30m 7: [0m[1m[0;1;46mLV: Loop does not require scalar epilogue [0m
[0;1;30m 8: [0m[1m[0;1;46mLV: Found trip count: 0 [0m
[0;1;30m 9: [0m[1m[0;1;46mLV: Found maximum trip count: 2147483647 [0m
[0;1;30m 10: [0m[1m[0;1;46mLV: The max safe fixed VF is: 67108864. [0m
[0;1;30m 11: [0m[1m[0;1;46mLV: The max safe scalable VF is: vscale x 0. [0m
[0;1;30m 12: [0m[1m[0;1;46mLV: The Smallest and Widest types: 32 / 32 bits. [0m
[0;1;30m 13: [0m[1m[0;1;46mLV: The Widest register safe to use is: 128 bits. [0m
[0;1;30m 14: [0m[1m[0;1;46mLV: Loop does not require scalar epilogue [0m
[0;1;30m 15: [0m[1m[0;1;46mLV(REG): Calculating max register usage: [0m
[0;1;30m 16: [0m[1m[0;1;46mLV(REG): At #0 Interval # 0 [0m
[0;1;30m 17: [0m[1m[0;1;46mLV(REG): At #1 Interval # 1 [0m
[0;1;30m 18: [0m[1m[0;1;46mLV(REG): At #2 Interval # 2 [0m
[0;1;30m 19: [0m[1m[0;1;46mLV(REG): At #3 Interval # 3 [0m
[0;1;30m 20: [0m[1m[0;1;46mLV(REG): At #4 Interval # 3 [0m
[0;1;30m 21: [0m[1m[0;1;46mLV(REG): At #5 Interval # 4 [0m
[0;1;30m 22: [0m[1m[0;1;46mLV(REG): At #6 Interval # 4 [0m
[0;1;30m 23: [0m[1m[0;1;46mLV(REG): At #7 Interval # 5 [0m
[0;1;30m 24: [0m[1m[0;1;46mLV(REG): At #8 Interval # 4 [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/117109
More information about the llvm-commits
mailing list