fallback: translate: frem bfloat
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | translate: frem bfloat NEW |
| Occurrences: | 5 in 5 configs, 2 test files |
| Snippet from: | i32-icmp.9bbcea1610.ll (mutant of i32-icmp.ll) @icmp_ne_constant_neg_2047 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -verify-machineinstrs |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | https://godbolt.org/z/4Gv1YhfKe (llc-assertions-trunk, checked 2026-10-14 11:04 UTC): G reproduces |
Snippet:
define bfloat @icmp_ne_constant_neg_2047() {
%B = frem bfloat 0.000000e+00, 0.000000e+00
ret bfloat %B
}
Compiler Explorer panes:
| Pane | Options | Exit | Insts | stderr |
|---|
| GlobalISel | -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 0 | 3 | remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem bfloat 0.000000e+00, 0.000000e+00' (in function: icmp_ne_constant_neg_2047) warning: Instruction selection used fallback path for icmp_ne_constant_neg_2047 |
| SelectionDAG (control) | -mtriple=riscv32 -verify-machineinstrs -global-isel=0 | 0 | 3 | - |
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem bfloat 0.000000e+00, 0.000000e+00' (in function: icmp_ne_constant_neg_2047)
warning: Instruction selection used fallback path for icmp_ne_constant_neg_2047
Occurrences (5):
| Input | Function | Config |
|---|
| i32-icmp.9bbcea1610.ll (mutant of i32-icmp.ll) | icmp_ne_constant_neg_2047 | -mtriple=riscv32 -verify-machineinstrs |
| i32-icmp.ced6760b97.ll (mutant of i32-icmp.ll) | icmp_ne_constant_neg_2047 | -mtriple=riscv32 -verify-machineinstrs -mattr=+xqcilia |
| rv64zbb-zbkb.137688f794.ll (mutant of rv64zbb-zbkb.ll) | rori_i64_fshl | -mtriple=riscv64 -mattr=+zbkb -verify-machineinstrs |
| rv64zbb-zbkb.46b9b80e01.ll (mutant of rv64zbb-zbkb.ll) | rori_i64_fshl | -mtriple=riscv64 -mattr=+zbb -verify-machineinstrs |
| rv64zbb-zbkb.74fdc4e69b.ll (mutant of rv64zbb-zbkb.ll) | rori_i64_fshl | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.