[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
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll:54:10: error: CHECK: expected string not found in input
; CHECK: any-of reduction %all.off = select i1 %cmp1, i1 %all.off.next, i1 false
         ^
<stdin>:806:21: note: scanning from here
Cost of 1 for VF 16: induction instruction %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
                    ^
<stdin>:832:47: note: possible intended match here
LV: Found an estimated cost of 1 for VF 1 For instruction: %all.off = select i1 %cmp1, i1 %all.off.next, i1 false
                                              ^

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:
<<<<<<
            1:  
            2: LV: Checking a loop in 'selects_1' from <stdin> 
check:8        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            3: LV: Loop hints: force=? width=0 interleave=0 
            4: LV: Found a loop: for.body 
            5: LV: Found an induction variable. 
            6: LV: We can vectorize this loop! 
            7: LV: Loop does not require scalar epilogue 
            8: LV: Found trip count: 0 
            9: LV: Found maximum trip count: 2147483647 
           10: LV: The max safe fixed VF is: 67108864. 
           11: LV: The max safe scalable VF is: vscale x 0. 
           12: LV: The Smallest and Widest types: 32 / 32 bits. 
           13: LV: The Widest register safe to use is: 128 bits. 
           14: LV: Loop does not require scalar epilogue 
           15: LV(REG): Calculating max register usage: 
           16: LV(REG): At #0 Interval # 0 
           17: LV(REG): At #1 Interval # 1 
           18: LV(REG): At #2 Interval # 2 
           19: LV(REG): At #3 Interval # 3 
           20: LV(REG): At #4 Interval # 3 
           21: LV(REG): At #5 Interval # 4 
           22: LV(REG): At #6 Interval # 4 
           23: LV(REG): At #7 Interval # 5 
           24: LV(REG): At #8 Interval # 4 
...

```

</details>

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


More information about the llvm-commits mailing list