fallback: translate: call llvm.umin.nxv1i32
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.umin.nxv1i32 M |
| Occurrences: | 4 in 4 configs, 1 test files, 6 more counted only |
| Snippet from: | vminu-vp.70b2259c63.ll (mutant of vminu-vp.ll) @vminu_vv_nxv1i32_unmasked via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global bfloat
define <vscale x 1 x i32> @vminu_vv_nxv1i32_unmasked(<vscale x 1 x i32> %va, <vscale x 1 x i32> %b, i32 zeroext %evl) {
%A = alloca bfloat, align 2
store bfloat poison, ptr %A, align 2
%LGV = load bfloat, ptr @G, align 2
%v = call <vscale x 1 x i32> @llvm.umin.nxv1i32(<vscale x 1 x i32> %va, <vscale x 1 x i32> %b)
%B = fmul bfloat %LGV, 0.000000e+00
store bfloat %B, ptr %A, align 2
ret <vscale x 1 x i32> %v
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 1 x i32> @llvm.umin.nxv1i32(<vscale x 1 x i32>, <vscale x 1 x i32>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umin.nxv1i32: ' %v = call <vscale x 1 x i32> @llvm.umin.nxv1i32(<vscale x 1 x i32> %va, <vscale x 1 x i32> %b)' (in function: vminu_vv_nxv1i32_unmasked)
warning: Instruction selection used fallback path for vminu_vv_nxv1i32_unmasked
Occurrences (4):
| Input | Function | Config |
|---|
| vminu-vp.6dca474c2f.ll (mutant of vminu-vp.ll) | vminu_vv_nxv1i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfa -O3 -code-model=small |
| vminu-vp.70b2259c63.ll (mutant of vminu-vp.ll) | vminu_vv_nxv1i32_unmasked | -mtriple=riscv64 -verify-machineinstrs -mattr=+v -O1 -code-model=small |
| vminu-vp.cb4196de55.ll (mutant of vminu-vp.ll) | vminu_vx_nxv1i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O1 |
| vminu-vp.e5c724637d.ll (mutant of vminu-vp.ll) | vminu_vx_nxv1i32_unmasked | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O3 |
Generated 2026-11-29 14:49 UTC.