fallback: translate: call llvm.vp.reduce.umin.nxv4i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.umin.nxv4i16 M |
| Occurrences: | 8 in 6 configs, 1 test files, 1 more counted only |
| Snippet from: | vreductions-int-vp.95fe0dd395.ll (mutant of vreductions-int-vp.ll) @vpreduce_umin_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i16
define signext i16 @vpreduce_umin_nxv4i16(i16 signext %s, <vscale x 4 x i16> %v, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%r = call i16 @llvm.vp.reduce.umin.nxv4i16(i16 %s, <vscale x 4 x i16> %v, <vscale x 4 x i1> %m, i32 %evl)
%B = or i16 %r, %s
store i16 %B, ptr @G, align 2
ret i16 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.vp.reduce.umin.nxv4i16(i16, <vscale x 4 x i16>, <vscale x 4 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.umin.nxv4i16: ' %r = call i16 @llvm.vp.reduce.umin.nxv4i16(i16 %s, <vscale x 4 x i16> %v, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpreduce_umin_nxv4i16)
warning: Instruction selection used fallback path for vpreduce_umin_nxv4i16
Occurrences (8):
| Input | Function | Config |
|---|
| vreductions-int-vp.0604b4d49c.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vreductions-int-vp.26abb61771.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 -code-model=medium |
| vreductions-int-vp.78e04515b4.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d,+zba -O3 |
| vreductions-int-vp.791b5ddff3.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa,+zba -O2 |
| vreductions-int-vp.95fe0dd395.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vreductions-int-vp.c6dae269d7.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vreductions-int-vp.c73820b8b7.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-int-vp.c917b6735b.ll (mutant of vreductions-int-vp.ll) | vpreduce_umin_nxv4i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
Generated 2026-11-29 14:49 UTC.