fallback: translate: sdiv i128
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: sdiv i128 M |
| Occurrences: | 3 in 3 configs, 3 test files, 10 more counted only |
| Snippet from: | iabs.6eba26fbf3.ll (mutant of iabs.ll) @select_abs128 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i128
define i128 @select_abs128(i128 %x) {
%B = sdiv i128 %x, %x
%1 = icmp slt i128 %x, 0
%2 = sub nsw i128 0, %x
%3 = select i1 %1, i128 %2, i128 %x
store i128 %B, ptr @G, align 4
ret i128 %3
}
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: sdiv: ' %B = sdiv i128 %x, %x' (in function: select_abs128)
warning: Instruction selection used fallback path for select_abs128
Occurrences (3):
| Input | Function | Config |
|---|
| fround-optsize.d64ec9bdf3.ll (mutant of fround-optsize.ll) | ceil_f16_optsize | -mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zhinx,+xtheadba -O0 |
| iabs.6eba26fbf3.ll (mutant of iabs.ll) | select_abs128 | -mtriple=riscv64 -verify-machineinstrs -mattr=+c,+zdinx -O0 |
| rv64zfhmin-half-convert.9d1357107d.ll (mutant of rv64zfhmin-half-convert.ll) | sitofp_zext_i32_to_f16 | -mtriple=riscv64 -verify-machineinstrs -target-abi lp64 -mattr=+zhinxmin -O2 |
Generated 2026-11-29 14:49 UTC.