fallback: translate: call llvm.smax.nxv16i16
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.smax.nxv16i16 M |
| Occurrences: | 6 in 6 configs, 1 test files, 1 more counted only |
| Snippet from: | vmax-vp.aeef181ce5.ll (mutant of vmax-vp.ll) @vmax_vv_nxv16i16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 16 x i16> @vmax_vv_nxv16i16(<vscale x 16 x i16> %va, <vscale x 16 x i16> %b, <vscale x 16 x i1> %m, i32 zeroext %evl) {
%v = call <vscale x 16 x i16> @llvm.smax.nxv16i16(<vscale x 16 x i16> %va, <vscale x 16 x i16> %b)
%B = shl <vscale x 16 x i16> %v, splat (i16 256)
ret <vscale x 16 x i16> %B
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 16 x i16> @llvm.smax.nxv16i16(<vscale x 16 x i16>, <vscale x 16 x i16>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.smax.nxv16i16: ' %v = call <vscale x 16 x i16> @llvm.smax.nxv16i16(<vscale x 16 x i16> %va, <vscale x 16 x i16> %b)' (in function: vmax_vv_nxv16i16)
warning: Instruction selection used fallback path for vmax_vv_nxv16i16
Occurrences (6):
| Input | Function | Config |
|---|
| vmax-vp.10eaafc9df.ll (mutant of vmax-vp.ll) | vmax_vv_nxv16i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbs -O1 |
| vmax-vp.90e3ee62f4.ll (mutant of vmax-vp.ll) | vmax_vv_nxv16i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vmax-vp.ab18364da0.ll (mutant of vmax-vp.ll) | vmax_vv_nxv16i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zbs -O2 |
| vmax-vp.aeef181ce5.ll (mutant of vmax-vp.ll) | vmax_vv_nxv16i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vmax-vp.afa14ff014.ll (mutant of vmax-vp.ll) | vmax_vv_nxv16i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
| vmax-vp.d36b1063a2.ll (mutant of vmax-vp.ll) | vmax_vx_nxv16i16_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zihintpause -O3 |
Generated 2026-11-29 14:49 UTC.