fallback: translate: call llvm.umin.nxv16i32

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.umin.nxv16i32 M
Occurrences:5 in 5 configs, 1 test files
Snippet from:vminu-vp.89784a7a34.ll (mutant of vminu-vp.ll) @vminu_vv_nxv16i32_unmasked via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 16 x i32> @vminu_vv_nxv16i32_unmasked(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b, i32 zeroext %evl) {
  %A = alloca <4 x i32>, align 16
  store <4 x i32> poison, ptr %A, align 16
  %v = call <vscale x 16 x i32> @llvm.umin.nxv16i32(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b)
  %B = or <4 x i32> splat (i32 1), splat (i32 -2147483648)
  store <4 x i32> %B, ptr %A, align 16
  ret <vscale x 16 x i32> %v
}

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

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.umin.nxv16i32: '  %v = call <vscale x 16 x i32> @llvm.umin.nxv16i32(<vscale x 16 x i32> %va, <vscale x 16 x i32> %b)' (in function: vminu_vv_nxv16i32_unmasked)
warning: Instruction selection used fallback path for vminu_vv_nxv16i32_unmasked

Occurrences (5):

InputFunctionConfig
vminu-vp.0917c159bd.ll (mutant of vminu-vp.ll)vminu_vx_nxv16i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zcb,+d -O1
vminu-vp.165c58ff76.ll (mutant of vminu-vp.ll)vminu_vv_nxv16i32_unmasked-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0
vminu-vp.89784a7a34.ll (mutant of vminu-vp.ll)vminu_vv_nxv16i32_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3
vminu-vp.ce52d8b794.ll (mutant of vminu-vp.ll)vminu_vx_nxv16i32_unmasked-mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0
vminu-vp.d4505602e7.ll (mutant of vminu-vp.ll)vminu_vv_nxv16i32-mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1

Generated 2026-11-29 14:49 UTC.