fallback: translate: sext <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: sext <N x i16> M
Occurrences:3 in 3 configs, 3 test files, 3 more counted only
Snippet from:rvp-simd-32.bff00222ed.ll (mutant of rvp-simd-32.ll) @test_pwadd_h via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <2 x i1>

define <2 x i32> @test_pwadd_h(<2 x i16> %a, <2 x i16> %b) {
  %a_ext = sext <2 x i16> %a to <2 x i32>
  %C = icmp slt <2 x i16> %a, splat (i16 32767)
  %b_ext = sext <2 x i16> %b to <2 x i32>
  %res = add <2 x i32> %a_ext, %b_ext
  store <2 x i1> %C, ptr @G, align 1
  ret <2 x i32> %res
}

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sext: '  %a_ext = sext <2 x i16> %a to <2 x i32>' (in function: test_pwadd_h)
warning: Instruction selection used fallback path for test_pwadd_h

Occurrences (3):

InputFunctionConfig
rvp-avgsub.00bcc85370.ll (mutant of rvp-avgsub.ll)wide_sext_v4i16-mtriple=riscv64 -mattr=+experimental-p,+zfinx -O1 -verify-machineinstrs
rvp-simd-32.bff00222ed.ll (mutant of rvp-simd-32.ll)test_pwadd_h-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O3
rvp-widening-sub-acc.351808df7e.ll (mutant of rvp-widening-sub-acc.ll)test_pwsuba_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx -O2

Generated 2026-11-29 14:49 UTC.