fallback: translate: sdiv i1
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sdiv i1 M |
| Occurrences: | 3 in 3 configs, 3 test files, 32 more counted only |
| Snippet from: | init-array.bac57e6192.ll (mutant of init-array.ll) @_GLOBAL__I_a via llvm-extract |
| Config: | -mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors -mattr=+zhinx -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define hidden void @_GLOBAL__I_a() section ".text.startup" {
%B = sdiv i1 false, false
store i1 %B, ptr poison, align 1
ret void
}
Reproduce:
llc -mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors -mattr=+zhinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors -mattr=+zhinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %B = sdiv i1 false, false' (in function: _GLOBAL__I_a)
warning: Instruction selection used fallback path for _GLOBAL__I_a
Occurrences (3):
| Input | Function | Config |
|---|
| fp-fcanonicalize.4fcc2c8215.ll (mutant of fp-fcanonicalize.ll) | fcanonicalize_softfloat | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O3 -code-model=medium |
| init-array.bac57e6192.ll (mutant of init-array.ll) | _GLOBAL__I_a | -mtriple=riscv64-unknown-elf -verify-machineinstrs -use-ctors -mattr=+zhinx -O0 |
| xcvmem-heuristic.4b655fbf49.ll (mutant of xcvmem-heuristic.ll) | test_heuristic | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+xcvmem,+zfinx -O0 -code-model=small |
Generated 2026-11-29 14:49 UTC.