fallback: translate: call llvm.umin.nxv8i16

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.umin.nxv8i16 M
Occurrences:6 in 5 configs, 1 test files, 5 more counted only
Snippet from:vminu-vp.4b07946702.ll (mutant of vminu-vp.ll) @vminu_vv_nxv8i16_unmasked via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+c -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x i16> @vminu_vv_nxv8i16_unmasked(<vscale x 8 x i16> %va, <vscale x 8 x i16> %b, i32 zeroext %evl) {
  %v = call <vscale x 8 x i16> @llvm.umin.nxv8i16(<vscale x 8 x i16> %va, <vscale x 8 x i16> %b)
  %C = fcmp one double 1.000000e+00, +inf
  store i1 %C, ptr poison, align 1
  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 -verify-machineinstrs -mattr=+v,+c -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+c -O1 -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> %b)' (in function: vminu_vv_nxv8i16_unmasked)
warning: Instruction selection used fallback path for vminu_vv_nxv8i16_unmasked

Occurrences (6):

InputFunctionConfig
vminu-vp.2b5723b211.ll (mutant of vminu-vp.ll)vminu_vv_nxv8i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2
vminu-vp.39f55433eb.ll (mutant of vminu-vp.ll)vminu_vx_nxv8i16-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zbb -O1
vminu-vp.40a1aa02e7.ll (mutant of vminu-vp.ll)vminu_vx_nxv8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vminu-vp.4b07946702.ll (mutant of vminu-vp.ll)vminu_vv_nxv8i16_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+c -O1
vminu-vp.50d214953e.ll (mutant of vminu-vp.ll)vminu_vv_nxv8i16-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2
vminu-vp.50d214953e.ll (mutant of vminu-vp.ll)vminu_vx_nxv8i16_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2

Generated 2026-11-29 14:49 UTC.