[llvm] [RISCV] Update P extension to the 018 version of the spec. (PR #170399)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 2 18:26:41 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 166640 tests passed
* 2901 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py</summary>

```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/circular_dependency -p TestFrameProviderCircularDependency.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 22.0.0git (https://github.com/llvm/llvm-project revision c495f51a05f8db450c89e467b53c824a1bd22af1)
  clang revision c495f51a05f8db450c89e467b53c824a1bd22af1
  llvm revision c495f51a05f8db450c89e467b53c824a1bd22af1
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc

--
Command Output (stderr):
--
Traceback (most recent call last):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py", line 8, in <module>
    lldbsuite.test.run_suite()
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1115, in run_suite
    visit("Test", dirpath, filenames)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 716, in visit
    visit_file(dir, name)
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 659, in visit_file
    module = __import__(base)
             ^^^^^^^^^^^^^^^^
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py", line 12, in <module>
    class FrameProviderCircularDependencyTestCase(TestBase):
  File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/scripted_frame_provider/circular_dependency/TestFrameProviderCircularDependency.py", line 19, in FrameProviderCircularDependencyTestCase
    @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
     ^^^^^^^^^^^^^^^^^^
NameError: name 'expectedFailureAll' is not defined

--

```
</details>

### Clang
<details>
<summary>Clang.Driver/print-supported-extensions-riscv.c</summary>

```
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=riscv64-linux-gnu --print-supported-extensions | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --strict-whitespace --implicit-check-not=FEAT_ /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/print-supported-extensions-riscv.c
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=riscv64-linux-gnu --print-supported-extensions
# .---command stderr------------
# | clang version 22.0.0git (https://github.com/llvm/llvm-project c495f51a05f8db450c89e467b53c824a1bd22af1)
# | Target: riscv64-unknown-linux-gnu
# | Thread model: posix
# | InstalledDir: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin
# | Build config: +assertions
# `-----------------------------
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck --strict-whitespace --implicit-check-not=FEAT_ /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/print-supported-extensions-riscv.c
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/print-supported-extensions-riscv.c:220:20: error: CHECK-NEXT: expected string not found in input
# | // CHECK-NEXT:     p                    0.15      'P' ('Base P' (Packed SIMD))
# |                    ^
# | <stdin>:216:24: note: scanning from here
# | Experimental extensions
# |                        ^
# | <stdin>:217:5: note: possible intended match here
# |     p                    0.18      'P' ('Base P' (Packed SIMD))
# |     ^
# | 
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Driver/print-supported-extensions-riscv.c
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |             .
# |             .
# |             .
# |           211:     xtheadsync           1.0       'XTHeadSync' (T-Head multicore synchronization instructions) 
# |           212:     xtheadvdot           1.0       'XTHeadVdot' (T-Head Vector Extensions for Dot) 
# |           213:     xventanacondops      1.0       'XVentanaCondOps' (Ventana Conditional Ops) 
# |           214:     xwchc                2.2       'Xwchc' (WCH/QingKe additional compressed opcodes) 
# |           215:  
# |           216: Experimental extensions 
# | next:220'0                            X error: no match found
# |           217:     p                    0.18      'P' ('Base P' (Packed SIMD)) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | next:220'1         ?                                                            possible intended match
# |           218:     zibi                 0.1       'Zibi' (Branch with Immediate) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           219:     zicfilp              1.0       'Zicfilp' (Landing pad) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           220:     zicfiss              1.0       'Zicfiss' (Shadow stack) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           221:     zalasr               0.9       'Zalasr' (Load-Acquire and Store-Release Instructions) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |           222:     zvbc32e              0.7       'Zvbc32e' (Vector Carryless Multiplication with 32-bits elements) 
# | next:220'0     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |             .
# |             .
# |             .
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the llvm-commits mailing list