fallback: translate: call llvm.umax.nxv8i8
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.umax.nxv8i8 M |
| Occurrences: | 6 in 6 configs, 1 test files, 2 more counted only |
| Snippet from: | vmaxu-vp.55c5fc52ab.ll (mutant of vmaxu-vp.ll) @vmaxu_vv_nxv8i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d -O1 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <8 x i8>
@G.1 = external global <8 x i8>
define <vscale x 8 x i8> @vmaxu_vv_nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%LGV = load <8 x i8>, ptr @G, align 8
%v = call <vscale x 8 x i8> @llvm.umax.nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b)
%I = insertelement <8 x i8> %LGV, i8 0, i32 -2147483648
store <8 x i8> %I, ptr @G.1, align 8
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.umax.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,+d -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umax.nxv8i8: ' %v = call <vscale x 8 x i8> @llvm.umax.nxv8i8(<vscale x 8 x i8> %va, <vscale x 8 x i8> %b)' (in function: vmaxu_vv_nxv8i8)
warning: Instruction selection used fallback path for vmaxu_vv_nxv8i8
Occurrences (6):
| Input | Function | Config |
|---|
| vmaxu-vp.198ba97d7b.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv8i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zicsr -O3 |
| vmaxu-vp.2c90a76007.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv8i8_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O3 |
| vmaxu-vp.55c5fc52ab.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv8i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+d -O1 |
| vmaxu-vp.766c093252.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv8i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vmaxu-vp.eca2835202.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv8i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
| vmaxu-vp.fb277ab87b.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv8i8_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zbkb,+m -O1 |
Generated 2026-11-29 14:49 UTC.