fallback: translate: frem bfloat

Run:main-04ca53e65f-20261014-113325
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 04ca53e65f
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:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*03remark: <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=003-

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):

InputFunctionConfig
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.