fallback: translate: call llvm.smax.nxv8i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.smax.nxv8i8 M |
| Occurrences: | 7 in 7 configs, 1 test files, 2 more counted only |
| Snippet from: | vmax-vp.ec09e4f250.ll (mutant of vmax-vp.ll) @vmax_vv_nxv8i8_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
@G.1 = external global i1
define <vscale x 8 x i8> @vmax_vv_nxv8i8_unmasked(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b, i32 zeroext %evl) {
%LGV = load i32, ptr @G, align 4
%C = icmp sge i32 %evl, %LGV
%v = call <vscale x 8 x i8> @llvm.smax.nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b)
store i1 %C, ptr @G.1, align 1
ret <vscale x 8 x i8> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x i8> @llvm.smax.nxv8i8(<vscale x 8 x i8>, <vscale x 8 x i8>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smax.nxv8i8: ' %v = call <vscale x 8 x i8> @llvm.smax.nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b)' (in function: vmax_vv_nxv8i8_unmasked)
warning: Instruction selection used fallback path for vmax_vv_nxv8i8_unmasked
Occurrences (7):
| Input | Function | Config |
|---|
| vmax-vp.3384cc5148.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vmax-vp.697bec1d21.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zihintpause -O2 -code-model=medium |
| vmax-vp.7246c6931d.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vmax-vp.d48f89260a.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vmax-vp.ec09e4f250.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zvfh -O2 |
| vmax-vp.f5c0f0aef1.ll (mutant of vmax-vp.ll) | vmax_vx_nxv8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve64d -O0 |
| vmax-vp.f647769214.ll (mutant of vmax-vp.ll) | vmax_vv_nxv8i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbb,+xtheadba -O1 |
Generated 2026-11-29 14:49 UTC.