fallback: translate: call llvm.umax.nxv1i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.umax.nxv1i64 M |
| Occurrences: | 3 in 3 configs, 1 test files, 2 more counted only |
| Snippet from: | vmaxu-vp.ddd147cd70.ll (mutant of vmaxu-vp.ll) @vmaxu_vv_nxv1i64_unmasked via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a -O3 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 1 x i64> @vmaxu_vv_nxv1i64_unmasked(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b, i32 zeroext %evl) {
%v = call <vscale x 1 x i64> @llvm.umax.nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b)
%C = icmp sle <vscale x 1 x i64> %b, zeroinitializer
store <vscale x 1 x i1> %C, ptr poison, align 1
ret <vscale x 1 x i64> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i64> @llvm.umax.nxv1i64(<vscale x 1 x i64>, <vscale x 1 x i64>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umax.nxv1i64: ' %v = call <vscale x 1 x i64> @llvm.umax.nxv1i64(<vscale x 1 x i64> %va, <vscale x 1 x i64> %b)' (in function: vmaxu_vv_nxv1i64_unmasked)
warning: Instruction selection used fallback path for vmaxu_vv_nxv1i64_unmasked
Occurrences (3):
| Input | Function | Config |
|---|
| vmaxu-vp.1317fe3f02.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv1i64_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 |
| vmaxu-vp.7f82794e23.ll (mutant of vmaxu-vp.ll) | vmaxu_vx_nxv1i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+c -O2 |
| vmaxu-vp.ddd147cd70.ll (mutant of vmaxu-vp.ll) | vmaxu_vv_nxv1i64_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a -O3 |
Generated 2026-11-29 14:49 UTC.