[clang] [llvm] [RISCV][P-ext] Support Packed "Q-format" Multiply Parts Accumulate (PR #217918)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 23 07:38:50 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 140257 tests passed
* 3729 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
<details>
<summary>Clang.CodeGen/RISCV/rvp-intrinsics.c</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
c:\_work\llvm-project\llvm-project\build\bin\clang.exe -cc1 -internal-isystem C:\_work\llvm-project\llvm-project\build\lib\clang\24\include -nostdsysteminc -triple riscv32 -target-feature +experimental-p -disable-O0-optnone -emit-llvm -o - C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c | c:\_work\llvm-project\llvm-project\build\bin\opt.exe -S -passes=sroa,instcombine | c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c --check-prefix=RV32
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\clang.exe' -cc1 -internal-isystem 'C:\_work\llvm-project\llvm-project\build\lib\clang\24\include' -nostdsysteminc -triple riscv32 -target-feature +experimental-p -disable-O0-optnone -emit-llvm -o - 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c'
# .---command stderr------------
# | In file included from C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c:9:
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:781:79: error: too few arguments provided to function-like macro invocation
# | 781 | __packed_ternary_builtin(pmhacc_i16x2, int16x2_t, __builtin_riscv_pmhacc_i16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:782:81: error: too few arguments provided to function-like macro invocation
# | 782 | __packed_ternary_builtin(pmhracc_i16x2, int16x2_t, __builtin_riscv_pmhracc_i16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:781:1: error: unknown type name '__packed_ternary_builtin'
# | 781 | __packed_ternary_builtin(pmhacc_i16x2, int16x2_t, __builtin_riscv_pmhacc_i16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:783:82: error: too few arguments provided to function-like macro invocation
# | 783 | __packed_ternary_builtin(pmhaccu_u16x2, uint16x2_t, __builtin_riscv_pmhaccu_u16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:782:25: error: expected ';' after top level declarator
# | 782 | __packed_ternary_builtin(pmhracc_i16x2, int16x2_t, __builtin_riscv_pmhracc_i16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:784:84: error: too few arguments provided to function-like macro invocation
# | 784 | __packed_ternary_builtin(pmhraccu_u16x2, uint16x2_t, __builtin_riscv_pmhraccu_u16x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:803:79: error: too few arguments provided to function-like macro invocation
# | 803 | __packed_ternary_builtin(pmhacc_i16x4, int16x4_t, __builtin_riscv_pmhacc_i16x4)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:804:79: error: too few arguments provided to function-like macro invocation
# | 804 | __packed_ternary_builtin(pmhacc_i32x2, int32x2_t, __builtin_riscv_pmhacc_i32x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:803:1: error: unknown type name '__packed_ternary_builtin'
# | 803 | __packed_ternary_builtin(pmhacc_i16x4, int16x4_t, __builtin_riscv_pmhacc_i16x4)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:805:81: error: too few arguments provided to function-like macro invocation
# | 805 | __packed_ternary_builtin(pmhracc_i16x4, int16x4_t, __builtin_riscv_pmhracc_i16x4)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:804:25: error: expected ';' after top level declarator
# | 804 | __packed_ternary_builtin(pmhacc_i32x2, int32x2_t, __builtin_riscv_pmhacc_i32x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:806:81: error: too few arguments provided to function-like macro invocation
# | 806 | __packed_ternary_builtin(pmhracc_i32x2, int32x2_t, __builtin_riscv_pmhracc_i32x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:807:82: error: too few arguments provided to function-like macro invocation
# | 807 | __packed_ternary_builtin(pmhaccu_u16x4, uint16x4_t, __builtin_riscv_pmhaccu_u16x4)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:808:82: error: too few arguments provided to function-like macro invocation
# | 808 | __packed_ternary_builtin(pmhaccu_u32x2, uint32x2_t, __builtin_riscv_pmhaccu_u32x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:809:84: error: too few arguments provided to function-like macro invocation
# | 809 | __packed_ternary_builtin(pmhraccu_u16x4, uint16x4_t, __builtin_riscv_pmhraccu_u16x4)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:810:84: error: too few arguments provided to function-like macro invocation
# | 810 | __packed_ternary_builtin(pmhraccu_u32x2, uint32x2_t, __builtin_riscv_pmhraccu_u32x2)
# | | ^
# | C:\_work\llvm-project\llvm-project\build\lib\clang\24\include\riscv_packed_simd.h:288:9: note: macro '__packed_ternary_builtin' defined here
# | 288 | #define __packed_ternary_builtin(name, rty, ty, builtin) \
# | | ^
# | 16 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\opt.exe' -S -passes=sroa,instcombine
# note: command had no output on stdout or stderr
# executed command: 'c:\_work\llvm-project\llvm-project\build\bin\filecheck.exe' 'C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c' --check-prefix=RV32
# .---command stderr------------
# | C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c:13:16: error: RV32-LABEL: expected string not found in input
# | // RV32-LABEL: define dso_local i32 @test_pmv_s_u8x4(
# | ^
# | <stdin>:1:1: note: scanning from here
# | ; ModuleID = '<stdin>'
# | ^
# | <stdin>:2:5: note: possible intended match here
# | source_filename = "<stdin>"
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\_work\llvm-project\llvm-project\clang\test\CodeGen\RISCV\rvp-intrinsics.c
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: ; ModuleID = '<stdin>'
# | label:13'0 { search range start (exclusive)
# | label:13'1 error: no match found in search range
# | 2: source_filename = "<stdin>"
# | label:13'2 ? possible intended match
# | label:13'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# 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/217918
More information about the llvm-commits
mailing list