fallback: translate: call llvm.smin.nxv1i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smin.nxv1i16 M |
| Occurrences: | 6 in 5 configs, 1 test files, 1 more counted only |
| Snippet from: | vmin-vp.997d16b0bc.ll (mutant of vmin-vp.ll) @vmin_vv_nxv1i16 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:
define <vscale x 1 x i16> @vmin_vv_nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 1 x i16> @llvm.smin.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b)
%B = add <vscale x 1 x i16> %v, splat (i16 256)
ret <vscale x 1 x i16> %B
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i16> @llvm.smin.nxv1i16(<vscale x 1 x i16>, <vscale x 1 x i16>) #0
attributes #0 = { nocallback nocreateundeforpoison 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.smin.nxv1i16: ' %v = call <vscale x 1 x i16> @llvm.smin.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b)' (in function: vmin_vv_nxv1i16)
warning: Instruction selection used fallback path for vmin_vv_nxv1i16
Occurrences (6):
| Input | Function | Config |
|---|
| vmin-vp.0d0d7ae1b4.ll (mutant of vmin-vp.ll) | vmin_vv_nxv1i16_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vmin-vp.5622250c22.ll (mutant of vmin-vp.ll) | vmin_vv_nxv1i16_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa,+c -O1 |
| vmin-vp.997d16b0bc.ll (mutant of vmin-vp.ll) | vmin_vv_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O0 |
| vmin-vp.c545905bdb.ll (mutant of vmin-vp.ll) | vmin_vx_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vmin-vp.daae4d2adf.ll (mutant of vmin-vp.ll) | vmin_vx_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause,+zvbb -O0 |
| vmin-vp.f6f91b7d83.ll (mutant of vmin-vp.ll) | vmin_vx_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+f,+zicsr -O3 |
Generated 2026-11-29 14:49 UTC.