[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:00:59 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `llvm` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/8196
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/AArch64/select-costs.ll' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt < /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll -passes=loop-vectorize -debug-only=loop-vectorize -disable-output -S 2>&1 | /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/opt -passes=loop-vectorize -debug-only=loop-vectorize -disable-output -S
+ /home/tcwg-buildbot/worker/clang-aarch64-quick/stage1/bin/FileCheck /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
/home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/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: /home/tcwg-buildbot/worker/clang-aarch64-quick/llvm/llvm/test/Transforms/LoopVectorize/AArch64/select-costs.ll
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
801: Cost of 0 for VF 8: EMIT vp<%7> = or ir<%all.off.next>, vp<%6>
802: Cost of 0 for VF 8: EMIT vp<%index.next> = add nuw vp<%2>, vp<%0>
803: Cost of 0 for VF 8: EMIT branch-on-count vp<%index.next>, vp<%1>
804: Cost of 0 for VF 8: vector loop backedge
805: Cost for VF 8: 6 (Estimated cost per lane: 0.8)
806: Cost of 1 for VF 16: induction instruction %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
check:54'0 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
807: Cost of 0 for VF 16: induction instruction %indvars.iv = phi i64 [ 0, %entry ], [ %indvars.iv.next, %for.body ]
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
808: Cost of 1 for VF 16: exit condition instruction %exitcond.not = icmp eq i64 %indvars.iv.next, %n
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
809: Cost of 0 for VF 16: forced scalar %arrayidx = getelementptr inbounds float, ptr %a, i64 %indvars.iv
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
810: Cost of 0 for VF 16: EMIT vp<%2> = CANONICAL-INDUCTION ir<0>, vp<%index.next>
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
811: Cost of 0 for VF 16: WIDEN-REDUCTION-PHI ir<%all.off.next> = phi ir<false>, vp<%7>
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
.
.
827: LV: Found an estimated cost of 0 for VF 1 For instruction: %any.0.off09 = phi i1 [ false, %entry ], [ %.any.0.off0, %for.body ]
check:54'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
```
</details>
https://github.com/llvm/llvm-project/pull/117109
More information about the llvm-commits
mailing list