fallback: translate: zext <N x i16>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: zext <N x i16> M
Occurrences:5 in 5 configs, 2 test files
Snippet from:rvp-widening-convert.c2dea812f1.ll (mutant of rvp-widening-convert.ll) @test_pwcvtu_v2i16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global <2 x i1>

define <2 x i32> @test_pwcvtu_v2i16(<2 x i16> %a) {
  %res = zext <2 x i16> %a to <2 x i32>
  %C = icmp sgt <2 x i16> %a, %a
  store <2 x i1> %C, ptr @G.1, align 1
  ret <2 x i32> %res
}

Reproduce:

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
rvp-widening-convert.731afb052b.ll (mutant of rvp-widening-convert.ll)test_pwcvtu_v2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zdinx -O0
rvp-widening-convert.c2dea812f1.ll (mutant of rvp-widening-convert.ll)test_pwcvtu_v2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+experimental-p,+m,+zbb,+zhinx -O2
rvp-widening-sub-acc.25643ac2ea.ll (mutant of rvp-widening-sub-acc.ll)test_pwsubau_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zicond,+zhinx -O3 -code-model=small
rvp-widening-sub-acc.351808df7e.ll (mutant of rvp-widening-sub-acc.ll)test_pwsubau_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zdinx -O2
rvp-widening-sub-acc.9284fb6e62.ll (mutant of rvp-widening-sub-acc.ll)test_pwsubau_v2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+experimental-p,+zfinx,+zbb -O0

Generated 2026-11-29 14:49 UTC.