fallback: translate: udiv i64
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: udiv i64 M |
| Occurrences: | 4 in 4 configs, 3 test files, 51 more counted only |
| Snippet from: | div.61238b1052.ll (mutant of div.ll) @udiv64 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i64 @udiv64(i64 %a, i64 %b) #0 {
%1 = udiv i64 %a, %b
%B = or i64 %1, 1
ret i64 %B
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %1 = udiv i64 %a, %b' (in function: udiv64)
warning: Instruction selection used fallback path for udiv64
Occurrences (4):
| Input | Function | Config |
|---|
| div.61238b1052.ll (mutant of div.ll) | udiv64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+zfinx -O1 |
| div.7a9d7c6417.ll (mutant of div.ll) | udiv64_constant_lhs | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx,+zicsr -O0 |
| fpenv-xlen.29865eba3c.ll (mutant of fpenv-xlen.ll) | func_get_fpenv | -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2 |
| half-imm.6c4ba52d14.ll (mutant of half-imm.ll) | half_imm | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinx,+m -O2 |
Generated 2026-11-29 14:49 UTC.