fallback: translate: call llvm.smax.nxv1i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smax.nxv1i16 M |
| Occurrences: | 6 in 6 configs, 1 test files, 1 more counted only |
| Snippet from: | vmax-vp.7b8a90b3b2.ll (mutant of vmax-vp.ll) @vmax_vv_nxv1i16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global half
define <vscale x 1 x i16> @vmax_vv_nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%A = alloca half, align 2
store half poison, ptr %A, align 2
%LGV = load half, ptr @G.3, align 2
%B = fmul half +qnan, %LGV
%v = call <vscale x 1 x i16> @llvm.smax.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b)
store half %B, ptr %A, align 2
ret <vscale x 1 x i16> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i16> @llvm.smax.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=riscv32 -verify-machineinstrs -mattr=+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smax.nxv1i16: ' %v = call <vscale x 1 x i16> @llvm.smax.nxv1i16(<vscale x 1 x i16> %va, <vscale x 1 x i16> %b)' (in function: vmax_vv_nxv1i16)
warning: Instruction selection used fallback path for vmax_vv_nxv1i16
Occurrences (6):
| Input | Function | Config |
|---|
| vmax-vp.0a70ab54d1.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vmax-vp.1e79958134.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i16_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbs,+zfh -O0 -code-model=small |
| vmax-vp.4dc9ba487b.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vmax-vp.7b8a90b3b2.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O0 |
| vmax-vp.90e3ee62f4.ll (mutant of vmax-vp.ll) | vmax_vx_nxv1i16_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vmax-vp.c6b7c5cd1f.ll (mutant of vmax-vp.ll) | vmax_vv_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+xtheadba -O1 |
Generated 2026-11-29 14:49 UTC.