fallback: legalize: G_INTRINSIC <2 x s16>
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_INTRINSIC <2 x s16> NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | rvp-simd-32.cddd1509ff.ll (mutant of rvp-simd-32.ll) @test_pabd_v2i16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <2 x i16> @test_pabd_v2i16(<2 x i16> %a, <2 x i16> %b) {
%A = alloca <2 x i16>, align 4
store <2 x i16> poison, ptr %A, align 4
%res = call <2 x i16> @llvm.riscv.pabd.v2i16(<2 x i16> %a, <2 x i16> %b)
store <2 x i16> %res, ptr %A, align 4
ret <2 x i16> %res
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x i16> @llvm.riscv.pabd.v2i16(<2 x i16>, <2 x i16>) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %4:_(<2 x s16>) = G_INTRINSIC intrinsic(@llvm.riscv.pabd), %0:_(<2 x s16>), %1:_(<2 x s16>) (in function: test_pabd_v2i16)
warning: Instruction selection used fallback path for test_pabd_v2i16
Occurrences (1):
| Input | Function | Config |
|---|
| rvp-simd-32.cddd1509ff.ll (mutant of rvp-simd-32.ll) | test_pabd_v2i16 | -mtriple=riscv32 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.