[llvm] [AArch64][SVE] Use FeatureUseFixedOverScalableIfEqualCost for A510 and A520 (PR #132246)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 4 06:48:41 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` 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/17694

<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/sve-fixed-width-inorder-core.ll' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt < /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/sve-fixed-width-inorder-core.ll -mtriple=aarch64-none-elf -mcpu=cortex-a510 -mattr=+sve -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/sve-fixed-width-inorder-core.ll --check-prefix=CHECK-CA510 # RUN: at line 2
+ /Users/buildbot/buildbot-root/aarch64-darwin/build/bin/opt -mtriple=aarch64-none-elf -mcpu=cortex-a510 -mattr=+sve -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/sve-fixed-width-inorder-core.ll --check-prefix=CHECK-CA510
/Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/sve-fixed-width-inorder-core.ll:30:21: error: CHECK-CA510-NEXT: expected string not found in input
; CHECK-CA510-NEXT: [[TMP2:%.*]] = add i64 [[INDEX]], 0
                    ^
<stdin>:32:67: note: scanning from here
 %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
                                                                  ^
<stdin>:32:67: note: with "INDEX" equal to "%index"
 %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
                                                                  ^
<stdin>:63:8: note: possible intended match here
 %indvars.iv = phi i64 [ %indvars.iv.next, %for.body ], [ %bc.resume.val, %scalar.ph ]
       ^

Input file: <stdin>
Check file: /Users/buildbot/buildbot-root/aarch64-darwin/llvm-project/llvm/test/Transforms/LoopVectorize/AArch64/sve-fixed-width-inorder-core.ll

-dump-input=help explains the following input dump.

Input was:
<<<<<<
            1: ; ModuleID = '<stdin>' 
            2: source_filename = "<stdin>" 
            3: target 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" 
            4: target triple = "aarch64-unknown-none-elf" 
            5:  
            6: define void @sve_add(ptr %dst, ptr %a, ptr %b, i64 %n) #0 { 
label:6'0      ^~~~~~~~~~~~~~~~~~~~~
label:6'1      ^~~~~~~~~~~~~~~~~~~~~
same:7'0                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
same:7'1                                ^~~~                                captured var "DST"
same:7'2                                          ^~                        captured var "A"
same:7'3                                                  ^~                captured var "B"
same:7'4                                                          ^~        captured var "N"
same:7'5                                                               ^    captured var "ATTR0"
            7: entry: 
next:8'0       ^~~~~~
next:8'1       ^~~~~~  captured var "ENTRY"
            8:  %b3 = ptrtoint ptr %b to i64 
next:9'0        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
next:9'1                                      with "B" equal to "%b"
next:9'2        ^~~                           captured var "B3"
            9:  %a2 = ptrtoint ptr %a to i64 
...

```

</details>

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


More information about the llvm-commits mailing list