fallback: translate: call llvm.vp.reduce.umin.nxv2i16
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.umin.nxv2i16 M |
| Occurrences: | 7 in 6 configs, 1 test files, 2 more counted only |
| Snippet from: | vreductions-int-vp.4369da1215.ll (mutant of vreductions-int-vp.ll) @vpreduce_umin_nxv2i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
define signext i16 @vpreduce_umin_nxv2i16(i16 signext %s, <vscale x 2 x i16> %v, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%r = call i16 @llvm.vp.reduce.umin.nxv2i16(i16 %s, <vscale x 2 x i16> %v, <vscale x 2 x i1> %m, i32 %evl)
store i16 %r, ptr @G, align 2
ret i16 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.vp.reduce.umin.nxv2i16(i16, <vscale x 2 x i16>, <vscale x 2 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.umin.nxv2i16: ' %r = call i16 @llvm.vp.reduce.umin.nxv2i16(i16 %s, <vscale x 2 x i16> %v, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpreduce_umin_nxv2i16)
warning: Instruction selection used fallback path for vpreduce_umin_nxv2i16
Occurrences (7):
| Input | Function | Config |
|---|
| vreductions-int-vp.02d64bf33e.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+xtheadba -O1 -code-model=medium |
| vreductions-int-vp.4369da1215.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-int-vp.47468c5891.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -code-model=medium |
| vreductions-int-vp.7887b3a811.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vreductions-int-vp.90c4986240.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vreductions-int-vp.af730c7d09.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vreductions-int-vp.c7431a8052.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv2i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh,+zve32x -O2 |
Generated 2026-11-29 14:49 UTC.