fallback: legalize: G_INTRINSIC <4 x s16>,<2 x s32>

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_INTRINSIC <4 x s16>,<2 x s32>
Occurrences:2 in 1 configs, 1 test files
Snippet from:rvp-simd-64.ll @test_pnclipp_v4i16 via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x i16> @test_pnclipp_v4i16(<2 x i32> %a, <2 x i32> %b) {
  %r = call <4 x i16> @llvm.riscv.pnclipp.v4i16.v2i32(<2 x i32> %a, <2 x i32> %b)
  ret <4 x i16> %r
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x i16> @llvm.riscv.pnclipp.v4i16.v2i32(<2 x i32>, <2 x i32>) #0

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: %2:_(<4 x s16>) = G_INTRINSIC intrinsic(@llvm.riscv.pnclipp), %0:_(<2 x s32>), %1:_(<2 x s32>) (in function: test_pnclipp_v4i16)
warning: Instruction selection used fallback path for test_pnclipp_v4i16

Occurrences (2):

InputFunctionConfig
rvp-simd-64.lltest_pnclipp_v4i16-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs
rvp-simd-64.lltest_pnclipup_v4i16-mtriple=riscv64 -mattr=+experimental-p,+m,+zbb -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.