fallback: translate: call llvm.umin.i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.umin.i64 M |
| Occurrences: | 4 in 4 configs, 3 test files, 4 more counted only |
| Snippet from: | min-max.0c7be5bbcd.ll (mutant of min-max.ll) @umin_i64 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+short-forward-branch-ialu,+zdinx -O2 -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i64 @umin_i64(i64 %a, i64 %b) {
%c = call i64 @llvm.umin.i64(i64 %a, i64 %b)
%B = ashr i64 %b, %b
store i64 %B, ptr poison, align 4
ret i64 %c
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umin.i64(i64, i64) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+short-forward-branch-ialu,+zdinx -O2 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+short-forward-branch-ialu,+zdinx -O2 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.umin.i64: ' %c = call i64 @llvm.umin.i64(i64 %a, i64 %b)' (in function: umin_i64)
warning: Instruction selection used fallback path for umin_i64
Occurrences (4):
| Input | Function | Config |
|---|
| abdu.15e3e5ae5b.ll (mutant of abdu.ll) | abd_minmax_i64 | -mtriple=riscv32 -mattr=+zdinx -O3 -code-model=small -verify-machineinstrs |
| min-max.0c7be5bbcd.ll (mutant of min-max.ll) | umin_i64 | -mtriple=riscv32 -mattr=+short-forward-branch-ialu,+zdinx -O2 -verify-machineinstrs |
| min-max.21b2ddb9e2.ll (mutant of min-max.ll) | umin_i64 | -mtriple=riscv64 -mattr=+zdinx -O2 -verify-machineinstrs |
| short-forward-branch-opt-min-max.645f267791.ll (mutant of short-forward-branch-opt-min-max.ll) | select_example_umin_1 | -mtriple=riscv64 -mattr=+zbb,+short-forward-branch-ialu,+zfinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.