fallback: translate: call llvm.vector.reduce.umin.nxv2i64

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:translate: call llvm.vector.reduce.umin.nxv2i64 M
Occurrences:2 in 2 configs, 1 test files
Snippet from:vreductions-int.09bea3e427.ll (mutant of vreductions-int.ll) @vreduce_umin_nxv2i64 via llvm-extract
Config:-mtriple=riscv64 -mattr=+m,+v -verify-machineinstrs
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global float

define i64 @vreduce_umin_nxv2i64(<vscale x 2 x i64> %v) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %LGV = load float, ptr @G.2, align 4
  %C = fcmp une float %LGV, 4.200000e+01
  %red = call i64 @llvm.vector.reduce.umin.nxv2i64(<vscale x 2 x i64> %v)
  store i1 %C, ptr %A, align 1
  ret i64 %red
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.vector.reduce.umin.nxv2i64(<vscale x 2 x i64>) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vector.reduce.umin.nxv2i64: '  %red = call i64 @llvm.vector.reduce.umin.nxv2i64(<vscale x 2 x i64> %v)' (in function: vreduce_umin_nxv2i64)
warning: Instruction selection used fallback path for vreduce_umin_nxv2i64

Occurrences (2):

InputFunctionConfig
vreductions-int.09bea3e427.ll (mutant of vreductions-int.ll)vreduce_umin_nxv2i64-mtriple=riscv64 -mattr=+m,+v -verify-machineinstrs
vreductions-int.1323c54ba7.ll (mutant of vreductions-int.ll)vreduce_umin_nxv2i64-mtriple=riscv32 -mattr=+m,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.