fallback: translate: zext <N x i16>

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: zext <N x i16> M
Occurrences:4 in 3 configs, 2 test files, 2 more counted only
Snippet from:fixed-vectors-vwadd.a732d156cc.ll (mutant of fixed-vectors-vwadd.ll) @vwaddu_wv_disjoint_or via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x i1>

define <4 x i32> @vwaddu_wv_disjoint_or(<4 x i32> %x.i32, <4 x i16> %y.i16) {
  %y.i32 = zext <4 x i16> %y.i16 to <4 x i32>
  %or = or disjoint <4 x i32> %x.i32, %y.i32
  %C = icmp slt <4 x i16> %y.i16, %y.i16
  store <4 x i1> %C, ptr @G, align 1
  ret <4 x i32> %or
}

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
fixed-vectors-vaaddu.11177d9a17.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i16_floor-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O3
fixed-vectors-vaaddu.921610581c.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i16_ceil-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O2
fixed-vectors-vaaddu.d1be15e293.ll (mutant of fixed-vectors-vaaddu.ll)vaaddu_vx_v8i16_floor-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1
fixed-vectors-vwadd.a732d156cc.ll (mutant of fixed-vectors-vwadd.ll)vwaddu_wv_disjoint_or-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O1

Generated 2026-11-29 14:49 UTC.