fallback: translate: srem i1
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: srem i1 M |
| Occurrences: | 4 in 4 configs, 4 test files, 9 more counted only |
| Snippet from: | zicond-fp-select-zfinx.92c05f72b7.ll (mutant of zicond-fp-select-zfinx.ll) @select_f64_i1 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zicond,+a -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define double @select_f64_i1(i1 %cond, double %t, double %f) #0 {
entry:
%B = srem i1 %cond, %cond
%sel = select i1 %B, double %t, double %f
ret double %sel
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zicond,+a -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zicond,+a -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: srem: ' %B = srem i1 %cond, %cond' (in function: select_f64_i1)
warning: Instruction selection used fallback path for select_f64_i1
Occurrences (4):
| Input | Function | Config |
|---|
| half-bitmanip-dagcombines.cb243c4cf9.ll (mutant of half-bitmanip-dagcombines.ll) | fcopysign_fneg | -mtriple=riscv32 -target-abi ilp32 -verify-machineinstrs -mattr=+zhinx -O0 |
| idiv_large.f12c8d36.33149bb71a.ll (mutant of idiv_large.f12c8d36.ll) | udiv_i64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx,+xtheadba -O0 |
| load-store.919bd33b14.ll (mutant of load-store.ll) | store_large_offset_two_stores | -mtriple=riscv64 -mattr=+zhinx -O3 -verify-machineinstrs |
| zicond-fp-select-zfinx.92c05f72b7.ll (mutant of zicond-fp-select-zfinx.ll) | select_f64_i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zicond,+a -O1 |
Generated 2026-11-29 14:49 UTC.