[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 14 20:48:45 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` running on `windows-gcebot2` while building `clang,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/63/builds/7094
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/clang-windows.py ...' (failure)
...
[79/81] Running the Clang regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using clang: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\subst.py:126: note: Did not find cir-opt in C:\b\slave\clang-x64-windows-msvc\build\stage1\bin;C:\b\slave\clang-x64-windows-msvc\build\stage1\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 22233 tests, 32 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: Clang :: Driver/print-enabled-extensions/riscv-andes-ax45.c (17393 of 22233)
******************** TEST 'Clang :: Driver/print-enabled-extensions/riscv-andes-ax45.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe --target=riscv64 -mcpu=andes-ax45 --print-enabled-extensions | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe' --target=riscv64 -mcpu=andes-ax45 --print-enabled-extensions
# .---command stderr------------
# | clang version 21.0.0git (https://github.com/llvm/llvm-project.git 24c8d900c47edeefb85643a06bc32235d9f42ea3)
# | Target: riscv64--
# | Thread model: posix
# | InstalledDir: C:\b\slave\clang-x64-windows-msvc\build\stage1\bin
# `-----------------------------
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c'
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c:13:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
# | ^
# | <stdin>:11:2: note: 'next' match was here
# | zicsr 2.0 'Zicsr' (CSRs)
# | ^
# | <stdin>:9:37: note: previous match ended here
# | c 2.0 'C' (Compressed Instructions)
# | ^
# | <stdin>:10:1: note: non-matching line after previous match is here
# | b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
Step 8 (stage 1 check) failure: stage 1 check (failure)
...
[79/81] Running the Clang regression tests
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\Program Files\Git\usr\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using clang: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\subst.py:126: note: Did not find cir-opt in C:\b\slave\clang-x64-windows-msvc\build\stage1\bin;C:\b\slave\clang-x64-windows-msvc\build\stage1\bin
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using lld-link: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\lld-link.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using ld64.lld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\ld64.lld.exe
llvm-lit.py: C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\utils\lit\lit\llvm\config.py:520: note: using wasm-ld: c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\wasm-ld.exe
-- Testing: 22233 tests, 32 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90
FAIL: Clang :: Driver/print-enabled-extensions/riscv-andes-ax45.c (17393 of 22233)
******************** TEST 'Clang :: Driver/print-enabled-extensions/riscv-andes-ax45.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe --target=riscv64 -mcpu=andes-ax45 --print-enabled-extensions | c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\clang.exe' --target=riscv64 -mcpu=andes-ax45 --print-enabled-extensions
# .---command stderr------------
# | clang version 21.0.0git (https://github.com/llvm/llvm-project.git 24c8d900c47edeefb85643a06bc32235d9f42ea3)
# | Target: riscv64--
# | Thread model: posix
# | InstalledDir: C:\b\slave\clang-x64-windows-msvc\build\stage1\bin
# `-----------------------------
# executed command: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\filecheck.exe' 'C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c'
# .---command stderr------------
# | C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c:13:16: error: CHECK-NEXT: is not on the line after the previous match
# | // CHECK-NEXT: zicsr 2.0 'Zicsr' (CSRs)
# | ^
# | <stdin>:11:2: note: 'next' match was here
# | zicsr 2.0 'Zicsr' (CSRs)
# | ^
# | <stdin>:9:37: note: previous match ended here
# | c 2.0 'C' (Compressed Instructions)
# | ^
# | <stdin>:10:1: note: non-matching line after previous match is here
# | b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions)
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\b\slave\clang-x64-windows-msvc\llvm-project\clang\test\Driver\print-enabled-extensions\riscv-andes-ax45.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
```
</details>
https://github.com/llvm/llvm-project/pull/144022
More information about the llvm-commits
mailing list