fallback: translate: sext <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: sext <N x i8> M
Occurrences:5 in 4 configs, 4 test files, 5 more counted only
Snippet from:rvp-widening-add-acc.9c39454dad.ll (mutant of rvp-widening-add-acc.ll) @test_pwadda_v4i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <4 x i16> @test_pwadda_v4i8(<4 x i16> %rd, <4 x i8> %a, <4 x i8> %b) {
  %ext.a = sext <4 x i8> %a to <4 x i16>
  %ext.b = sext <4 x i8> %b to <4 x i16>
  %sum.a = add <4 x i16> %rd, %ext.a
  %sum.b = add <4 x i16> %sum.a, %ext.b
  store <4 x i16> %sum.a, ptr poison, align 8
  ret <4 x i16> %sum.b
}

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: sext: '  %ext.a = sext <4 x i8> %a to <4 x i16>' (in function: test_pwadda_v4i8)
warning: Instruction selection used fallback path for test_pwadda_v4i8

Occurrences (5):

InputFunctionConfig
fixed-vectors-vaadd.0bb6b44ce5.ll (mutant of fixed-vectors-vaadd.ll)vaadd_vv_v8i8_ceil_sexti32-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O1
fixed-vectors-zvdot4a8i.326c2ff9fc.ll (mutant of fixed-vectors-zvdot4a8i.ll)vdot4asu_vv_partial_reduce_v1i32_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3
fixed-vectors-zvdot4a8i.326c2ff9fc.ll (mutant of fixed-vectors-zvdot4a8i.ll)vdot4a_vv_partial_reduce_v16i32_v64i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O3
rvp-widening-add-acc.9c39454dad.ll (mutant of rvp-widening-add-acc.ll)test_pwadda_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2
rvp-widening-sub-acc.98d1a4f08b.ll (mutant of rvp-widening-sub-acc.ll)test_pwsuba_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx,+zicond -O0

Generated 2026-11-29 14:49 UTC.