fallback: translate: zext <N x i8>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: zext <N x i8> M
Occurrences:5 in 5 configs, 3 test files, 2 more counted only
Snippet from:rvp-widening-sub-acc.98d1a4f08b.ll (mutant of rvp-widening-sub-acc.ll) @test_pwsubau_v4i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx,+zicond -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x i16>

define <4 x i16> @test_pwsubau_v4i8(<4 x i16> %rd, <4 x i8> %a, <4 x i8> %b) {
  %ext.a = zext <4 x i8> %a to <4 x i16>
  %ext.b = zext <4 x i8> %b to <4 x i16>
  %sum.a = add <4 x i16> %rd, %ext.a
  %sum.b = sub <4 x i16> %sum.a, %ext.b
  %B = srem <4 x i16> %sum.b, %sum.b
  store <4 x i16> %B, ptr @G, align 8
  ret <4 x i16> %sum.b
}

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
fixed-vectors-vaaddu.036fcfaf03.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i8_floor-mtriple=riscv64 -verify-machineinstrs -mattr=+avoid-vxrm,+zhinx -O0
fixed-vectors-vaaddu.5c8c2d7c22.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i8_ceil-mtriple=riscv64 -verify-machineinstrs -mattr=+avoid-vxrm,+zfinx -O3
fixed-vectors-vaaddu.d1be15e293.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vv_v8i8_ceil-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1
fixed-vectors-zvdot4a8i-i64.617e94fe20.ll (mutant of fixed-vectors-zvdot4a8i-i64.ll)vdot4au_v4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-zvdot4a8i,+zfinx -O2
rvp-widening-sub-acc.98d1a4f08b.ll (mutant of rvp-widening-sub-acc.ll)test_pwsubau_v4i8-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx,+zicond -O0

Generated 2026-11-29 14:49 UTC.