fallback: translate: call llvm.smax.nxv1i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smax.nxv1i8 M |
| Occurrences: | 7 in 6 configs, 1 test files, 1 more counted only |
| Snippet from: | vmax-vp.c6b7c5cd1f.ll (mutant of vmax-vp.ll) @vmax_vv_nxv1i8_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global <4 x i1>
define <vscale x 1 x i8> @vmax_vv_nxv1i8_unmasked(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b, i32 zeroext %evl) {
%v = call <vscale x 1 x i8> @llvm.smax.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b)
%C = icmp uge <4 x i32> zeroinitializer, zeroinitializer
store <4 x i1> %C, ptr @G.1, align 1
ret <vscale x 1 x i8> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i8> @llvm.smax.nxv1i8(<vscale x 1 x i8>, <vscale x 1 x i8>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smax.nxv1i8: ' %v = call <vscale x 1 x i8> @llvm.smax.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b)' (in function: vmax_vv_nxv1i8_unmasked)
warning: Instruction selection used fallback path for vmax_vv_nxv1i8_unmasked
Occurrences (7):
| Input | Function | Config |
|---|
| vmax-vp.223c027d22.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vmax-vp.7b8a90b3b2.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| vmax-vp.a9fae11347.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zbb -O3 |
| vmax-vp.aeef181ce5.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vmax-vp.afa14ff014.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
| vmax-vp.c6b7c5cd1f.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 |
| vmax-vp.ec29d83c1d.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i8_commute | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
Generated 2026-11-29 14:49 UTC.