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

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:legalize: G_INTRINSIC <2 x s32>,<2 x s16>,s32
Occurrences:6 in 1 configs, 1 test files
Snippet from:rvp-widening-shift.ll @pwsll_v2i16 via llvm-extract
Config:-mtriple=riscv64 -mattr=+experimental-p -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.pwsll.v2i32.v2i16(<2 x i16>, i32) #0

define <2 x i32> @pwsll_v2i16(<2 x i16> %x, i32 %shamt) {
  %res = call <2 x i32> @llvm.riscv.pwsll.v2i32.v2i16(<2 x i16> %x, i32 %shamt)
  ret <2 x i32> %res
}

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %5:_(<2 x s32>) = G_INTRINSIC intrinsic(@llvm.riscv.pwsll), %0:_(<2 x s16>), %1:_(s32) (in function: pwsll_v2i16)
warning: Instruction selection used fallback path for pwsll_v2i16

Occurrences (6):

InputFunctionConfig
rvp-widening-shift.llpwsll_v2i16-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs
rvp-widening-shift.llpwsla_v2i16-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs
rvp-widening-shift.llpwslli_v2i16-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs
rvp-widening-shift.llpwslai_v2i16-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs
rvp-widening-shift.llpwslli_v2i16_31-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs
rvp-widening-shift.516d4f2ca3.ll (mutant of rvp-widening-shift.ll)pwsll_v2i16-mtriple=riscv64 -mattr=+experimental-p -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.