fallback: translate: frem bfloat

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:translate: frem bfloat NEW
Occurrences:12 in 12 configs, 2 test files
Snippet from:half-zfa-fli.91bfdf03e7.ll (mutant of half-zfa-fli.ll) @loadfpimm3 via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh
Local check:reproduces at bc8218b282
Compiler Explorer:https://godbolt.org/z/anK5vrPKa (llc-assertions-trunk, checked 2026-10-15 08:05 UTC): G reproduces

Snippet:

define bfloat @loadfpimm3() {
  %B = frem bfloat 0.000000e+00, 0.000000e+00
  ret bfloat %B
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*04remark: <unknown>:0:0: unable to translate instruction: frem: ' %B = frem bfloat 0.000000e+00, 0.000000e+00' (in function: loadfpimm3)
warning: Instruction selection used fallback path for loadfpimm3
SelectionDAG (control)-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh -global-isel=004-

Reproduce:

llc -mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh -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: loadfpimm3)
warning: Instruction selection used fallback path for loadfpimm3

Occurrences (12):

InputFunctionConfig
half-zfa-fli.91bfdf03e7.ll (mutant of half-zfa-fli.ll)loadfpimm3-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfh
half-zfa-fli.bee6c5dca2.ll (mutant of half-zfa-fli.ll)loadfpimm3-mtriple=riscv32 -target-abi ilp32f -mattr=+zfa,+zfhmin
half-zfa-fli.d8d5884b30.ll (mutant of half-zfa-fli.ll)loadfpimm3-mtriple=riscv64 -target-abi lp64f -mattr=+zfa,+zfh
half-zfa-fli.f47add573c.ll (mutant of half-zfa-fli.ll)loadfpimm3-mtriple=riscv64 -target-abi lp64f -mattr=+zfa,+zfhmin
shadowcallstack.0560cc8e36.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv32 -verify-machineinstrs -mattr=+zcmp,+zimop
shadowcallstack.15b82c2e78.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv64 -mattr=+zimop -verify-machineinstrs
shadowcallstack.17d4e38e45.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv64 -verify-machineinstrs
shadowcallstack.5dac0bd486.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv64 -verify-machineinstrs -mattr=+zcmp,+zimop,+zcmop
shadowcallstack.67934c334f.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv32 -verify-machineinstrs
shadowcallstack.809ebb5068.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv32 -mattr=+zimop,+zcmop -M no-aliases -verify-machineinstrs
shadowcallstack.a5a07860c4.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv64 -mattr=+zimop,+zcmop -M no-aliases -verify-machineinstrs
shadowcallstack.be5240ba19.ll (mutant of shadowcallstack.ll)f3-mtriple=riscv32 -mattr=+zimop -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.