fallback: translate: call llvm.smin.nxv64i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smin.nxv64i8 M |
| Occurrences: | 7 in 6 configs, 1 test files, 4 more counted only |
| Snippet from: | vmin-vp.e7ef6a7270.ll (mutant of vmin-vp.ll) @vmin_vx_nxv64i8_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
define <vscale x 64 x i8> @vmin_vx_nxv64i8_unmasked(<vscale x 64 x i8> %va, i8 %b, i32 zeroext %evl) {
%B = xor i32 %evl, %evl
%elt.head = insertelement <vscale x 64 x i8> poison, i8 %b, i32 0
%vb = shufflevector <vscale x 64 x i8> %elt.head, <vscale x 64 x i8> poison, <vscale x 64 x i32> zeroinitializer
%v = call <vscale x 64 x i8> @llvm.smin.nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i8> %vb)
store i32 %B, ptr @G, align 4
ret <vscale x 64 x i8> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 64 x i8> @llvm.smin.nxv64i8(<vscale x 64 x i8>, <vscale x 64 x i8>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smin.nxv64i8: ' %v = call <vscale x 64 x i8> @llvm.smin.nxv64i8(<vscale x 64 x i8> %va, <vscale x 64 x i8> %vb)' (in function: vmin_vx_nxv64i8_unmasked)
warning: Instruction selection used fallback path for vmin_vx_nxv64i8_unmasked
Occurrences (7):
| Input | Function | Config |
|---|
| vmin-vp.0d99a1fc21.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause,+zvbb -O0 |
| vmin-vp.33417c4144.ll (mutant of vmin-vp.ll) | vmin_vv_nxv64i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
| vmin-vp.74afccb8be.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vmin-vp.87a654e6ba.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+d -O1 |
| vmin-vp.dff1ec2e02.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vmin-vp.e7ef6a7270.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vmin-vp.ebb542339e.ll (mutant of vmin-vp.ll) | vmin_vx_nxv64i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
Generated 2026-11-29 14:49 UTC.