fallback: translate: udiv i64
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: udiv i64 M |
| Occurrences: | 6 in 6 configs, 5 test files, 33 more counted only |
| Snippet from: | alu-roundtrip-rv64.b806816ef1.ll (mutant of alu-roundtrip-rv64.ll) @urem_i64 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i64
define i64 @urem_i64(i64 %a, i64 %b) {
entry:
%B = udiv i64 -1, 9223372036854775807
%0 = urem i64 %a, %b
store i64 %B, ptr @G.1, align 4
ret i64 %0
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %B = udiv i64 -1, 9223372036854775807' (in function: urem_i64)
warning: Instruction selection used fallback path for urem_i64
Occurrences (6):
| Input | Function | Config |
|---|
| alu-roundtrip-rv64.b806816ef1.ll (mutant of alu-roundtrip-rv64.ll) | urem_i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zhinx -O0 |
| codemodel-lowering.9959b4036d.ll (mutant of codemodel-lowering.ll) | lower_constantpool | -mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -mattr=+zfinx,+zhinx -O2 -code-model=small |
| half-fcmp-strict.c6cfffdec6.ll (mutant of half-fcmp-strict.ll) | fcmp_ule | -mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -disable-strictnode-mutation -mattr=+zhinxmin,+zba,+a -O1 |
| min-max.285148a922.ll (mutant of min-max.ll) | smax_i64 | -mtriple=riscv32 -mattr=+zhinx -O3 -code-model=medium -verify-machineinstrs |
| min-max.86da069edc.ll (mutant of min-max.ll) | smax_i64 | -mtriple=riscv32 -mattr=+short-forward-branch-ialu,+zbs,+zfinx -O3 -verify-machineinstrs |
| xaluo.b4a90a569b.ll (mutant of xaluo.ll) | ssubo.select.i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+zfinx -O3 |
Generated 2026-11-29 14:49 UTC.