fallback: translate: call llvm.umin.nxv8i16

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:translate: call llvm.umin.nxv8i16 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vminu-vp.6a65a0232c.ll (mutant of vminu-vp.ll) @vminu_vx_nxv8i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x float>

define <vscale x 8 x i16> @vminu_vx_nxv8i16(<vscale x 8 x i16> %va, i16 %b, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %A = alloca <4 x float>, align 16
  store <4 x float> poison, ptr %A, align 16
  %LGV = load <4 x float>, ptr @G, align 16
  %elt.head = insertelement <vscale x 8 x i16> poison, i16 %b, i32 0
  %B = fsub <4 x float> %LGV, splat (float +qnan)
  %vb = shufflevector <vscale x 8 x i16> %elt.head, <vscale x 8 x i16> poison, <vscale x 8 x i32> zeroinitializer
  %v = call <vscale x 8 x i16> @llvm.umin.nxv8i16(<vscale x 8 x i16> %va, <vscale x 8 x i16> %vb)
  store <4 x float> %B, ptr %A, align 16
  ret <vscale x 8 x i16> %v
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i16> @llvm.umin.nxv8i16(<vscale x 8 x i16>, <vscale x 8 x i16>) #0

attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.umin.nxv8i16: '  %v = call <vscale x 8 x i16> @llvm.umin.nxv8i16(<vscale x 8 x i16> %va, <vscale x 8 x i16> %vb)' (in function: vminu_vx_nxv8i16)
warning: Instruction selection used fallback path for vminu_vx_nxv8i16

Occurrences (2):

InputFunctionConfig
vminu-vp.6a65a0232c.ll (mutant of vminu-vp.ll)vminu_vx_nxv8i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs
vminu-vp.6b52d1a3d2.ll (mutant of vminu-vp.ll)vminu_vx_nxv8i16-mtriple=riscv64 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.