fallback: translate: call llvm.umax.nxv32i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.umax.nxv32i8 M |
| Occurrences: | 5 in 5 configs, 1 test files, 3 more counted only |
| Snippet from: | vmaxu-vp.cd18df3b3d.ll (mutant of vmaxu-vp.ll) @vmaxu_vv_nxv32i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O0 -code-model=small |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 32 x i8> @vmaxu_vv_nxv32i8(<vscale x 32 x i8> %va, <vscale x 32 x i8> %b, <vscale x 32 x i1> %m, i32 zeroext %evl) {
%B = add <vscale x 32 x i8> %b, splat (i8 42)
%v = call <vscale x 32 x i8> @llvm.umax.nxv32i8(<vscale x 32 x i8> %va, <vscale x 32 x i8> %b)
store <vscale x 32 x i8> %B, ptr poison, align 32
ret <vscale x 32 x i8> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 32 x i8> @llvm.umax.nxv32i8(<vscale x 32 x i8>, <vscale x 32 x i8>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O0 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umax.nxv32i8: ' %v = call <vscale x 32 x i8> @llvm.umax.nxv32i8(<vscale x 32 x i8> %va, <vscale x 32 x i8> %b)' (in function: vmaxu_vv_nxv32i8)
warning: Instruction selection used fallback path for vmaxu_vv_nxv32i8
Occurrences (5):
| Input | Function | Config |
|---|
| vmaxu-vp.1909cdf179.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv32i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small |
| vmaxu-vp.5e1b368805.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv32i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vmaxu-vp.62a1f0a991.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv32i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicsr,+zba -O1 |
| vmaxu-vp.b14c7f3830.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv32i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+a -O0 -code-model=small |
| vmaxu-vp.cd18df3b3d.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv32i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zba -O0 -code-model=small |
Generated 2026-11-29 14:49 UTC.