[llvm] [SPARC] Add TTI implementation for getting register numbers and widths (PR #180660)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 19 05:06:13 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `llvm` at step 7 "test-build-unified-tree-check-all".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/32515

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: Transforms/LoopVectorize/Sparc/no-vectorize.ll' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe < Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\LoopVectorize\Sparc\no-vectorize.ll -passes=loop-vectorize -mtriple sparc -S | z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\LoopVectorize\Sparc\no-vectorize.ll -check-prefixes=SPARC,SPARC32
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe' -passes=loop-vectorize -mtriple sparc -S
# .---command stderr------------
# | z:\b\llvm-clang-x86_64-sie-win\build\bin\opt.exe: WARNING: failed to create target machine for 'sparc': unable to get target for 'sparc', see --version and --triple.
# `-----------------------------
# executed command: 'z:\b\llvm-clang-x86_64-sie-win\build\bin\filecheck.exe' 'Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\LoopVectorize\Sparc\no-vectorize.ll' -check-prefixes=SPARC,SPARC32
# .---command stderr------------
# | Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\LoopVectorize\Sparc\no-vectorize.ll:19:15: error: SPARC-NEXT: is not on the line after the previous match
# | ; SPARC-NEXT: br label %[[FOR_BODY_I_I:.*]]
# |               ^
# | <stdin>:45:2: note: 'next' match was here
# |  br label %vector.body
# |  ^
# | <stdin>:14:51: note: previous match ended here
# |  %glob.promoted.i.i = load i16, ptr @glob, align 2
# |                                                   ^
# | <stdin>:15:1: note: non-matching line after previous match is here
# |  %0 = zext i16 %__args3 to i32
# | ^
# | 
# | Input file: <stdin>
# | Check file: Z:\b\llvm-clang-x86_64-sie-win\llvm-project\llvm\test\Transforms\LoopVectorize\Sparc\no-vectorize.ll
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             1: ; ModuleID = '<stdin>' 
# |             2: source_filename = "<stdin>" 
# |             3: target datalayout = "E-m:e-p:32:32-i64:64-i128:128-f128:64-n32-S64" 
# |             4: target triple = "sparc" 
# |             5:  
# |             6:  at glob = dso_local local_unnamed_addr global i16 0, align 2 
# |             7:  
# |             8: define fastcc void @novectorize(ptr %__args1, i16 %__args3) { 
# | label:12'0     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | label:12'1     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | same:13'0                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | same:13'1                                          ^~~~~~~~                   captured var "__ARGS1"
# | same:13'2                                                        ^~~~~~~~     captured var "__ARGS3"
# |             9: entry: 
# | next:14'0      ^~~~~~
# | next:14'1      ^~~~~~  captured var "ENTRY"
# |            10:  %tobool.not2.i.i = icmp eq i16 %__args3, 0 
...

```

</details>

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


More information about the llvm-commits mailing list