fallback: translate: udiv i64
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: udiv i64 M |
| Occurrences: | 7 in 4 configs, 4 test files, 36 more counted only |
| Snippet from: | split-udiv-by-constant.b54be36eda.ll (mutant of split-udiv-by-constant.ll) @test_udiv_5 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global i64
; Function Attrs: nounwind
define i64 @test_udiv_5(i64 %x) #0 {
%a = udiv i64 %x, 5
%B = or i64 %a, %x
store i64 %B, ptr @G.2, align 4
ret i64 %a
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: udiv: ' %a = udiv i64 %x, 5' (in function: test_udiv_5)
warning: Instruction selection used fallback path for test_udiv_5
Occurrences (7):
| Input | Function | Config |
|---|
| bswap-bitreverse.92dbf3e526.ll (mutant of bswap-bitreverse.ll) | test_bitreverse_i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2 |
| bswap-bitreverse.cdb05c35d0.ll (mutant of bswap-bitreverse.ll) | test_bitreverse_i64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O2 |
| idiv_large.b5b381fb92.ll (mutant of idiv_large.ll) | udiv_i64 | -mtriple=riscv64 -mattr=+zhinx -O2 -verify-machineinstrs |
| sadd_sat.3b623ef665.ll (mutant of sadd_sat.ll) | func3 | -mtriple=riscv32 -mattr=+zhinx -O0 -code-model=small -verify-machineinstrs |
| split-udiv-by-constant.b54be36eda.ll (mutant of split-udiv-by-constant.ll) | test_udiv_5 | -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs |
| split-udiv-by-constant.b54be36eda.ll (mutant of split-udiv-by-constant.ll) | test_udiv_15 | -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs |
| split-udiv-by-constant.b54be36eda.ll (mutant of split-udiv-by-constant.ll) | test_udiv_65537 | -mtriple=riscv32 -mattr=+zdinx -O3 -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.