fallback: translate: call llvm.umax.nxv1i8
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.umax.nxv1i8 M |
| Occurrences: | 4 in 4 configs, 1 test files, 6 more counted only |
| Snippet from: | vmaxu-vp.3ab3db262f.ll (mutant of vmaxu-vp.ll) @vmaxu_vv_nxv1i8_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve32x -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x i8> @vmaxu_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.umax.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b)
%B = add <vscale x 1 x i8> %b, %v
ret <vscale x 1 x i8> %B
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i8> @llvm.umax.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,+zve32x -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve32x -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umax.nxv1i8: ' %v = call <vscale x 1 x i8> @llvm.umax.nxv1i8(<vscale x 1 x i8> %va, <vscale x 1 x i8> %b)' (in function: vmaxu_vv_nxv1i8_unmasked)
warning: Instruction selection used fallback path for vmaxu_vv_nxv1i8_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| vmaxu-vp.3ab3db262f.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv1i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zve32x -O3 |
| vmaxu-vp.b10df03e0b.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv1i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vmaxu-vp.e2a22caa4c.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv1i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d -O2 |
| vmaxu-vp.f1f10e7ec1.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv1i8_commute | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O0 |
Generated 2026-11-29 14:49 UTC.