[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 23:04:03 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt` running on `systemz-1` while building `clang,llvm` at step 7 "ninja check 1".

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

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

```
Step 7 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'Clang :: Driver/print-enabled-extensions/riscv-andes-a45.c' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang --target=riscv32 -mcpu=andes-a45 --print-enabled-extensions | /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Driver/print-enabled-extensions/riscv-andes-a45.c # RUN: at line 1
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/clang --target=riscv32 -mcpu=andes-a45 --print-enabled-extensions
+ /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin/FileCheck /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Driver/print-enabled-extensions/riscv-andes-a45.c
clang version 21.0.0git (https://github.com/llvm/llvm-project.git 24c8d900c47edeefb85643a06bc32235d9f42ea3)
Target: riscv32--
Thread model: posix
InstalledDir: /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/stage1/bin
Build config: +assertions
/home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Driver/print-enabled-extensions/riscv-andes-a45.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: /home/uweigand/sandbox/buildbot/clang-s390x-linux-lnt/llvm/clang/test/Driver/print-enabled-extensions/riscv-andes-a45.c

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

Input was:
<<<<<<
         .
         .
         .
         6:  a 2.1 'A' (Atomic Instructions) 
         7:  f 2.2 'F' (Single-Precision Floating-Point) 
         8:  d 2.2 'D' (Double-Precision Floating-Point) 
         9:  c 2.0 'C' (Compressed Instructions) 
        10:  b 1.0 'B' (the collection of the Zba, Zbb, Zbs extensions) 
        11:  zicsr 2.0 'Zicsr' (CSRs) 
next:13      !~~~~~~~~~~~~~~~~~~~~~~~  error: match on wrong line
        12:  zifencei 2.0 'Zifencei' (fence.i) 
        13:  zmmul 1.0 'Zmmul' (Integer Multiplication) 
        14:  zaamo 1.0 'Zaamo' (Atomic Memory Operations) 
        15:  zalrsc 1.0 'Zalrsc' (Load-Reserved/Store-Conditional) 
        16:  zca 1.0 'Zca' (part of the C extension, excluding compressed floating point loads/stores) 
         .
         .
...

```

</details>

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


More information about the llvm-commits mailing list