fallback: legalize: G_INTRINSIC <2 x s32>,<2 x s16>
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <2 x s32>,<2 x s16> |
| Occurrences: | 2 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-64.ll @test_pmqwacc_i32x2 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i32> @llvm.riscv.pmqwacc.i32x2(<2 x i32>, <2 x i16>, <2 x i16>) #0
define <2 x i32> @test_pmqwacc_i32x2(<2 x i32> %rd, <2 x i16> %rs1, <2 x i16> %rs2) {
%r = call <2 x i32> @llvm.riscv.pmqwacc.i32x2(<2 x i32> %rd, <2 x i16> %rs1, <2 x i16> %rs2)
ret <2 x i32> %r
}
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %7:_(<2 x s32>) = G_INTRINSIC intrinsic(@llvm.riscv.pmqwacc.i32x2), %0:_(<2 x s32>), %1:_(<2 x s16>), %2:_(<2 x s16>) (in function: test_pmqwacc_i32x2)
warning: Instruction selection used fallback path for test_pmqwacc_i32x2
Occurrences (2):
| Input | Function | Config |
|---|
| rvp-simd-64.ll | test_pmqwacc_i32x2 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| rvp-simd-64.ll | test_pmqrwacc_i32x2 | -mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.