fallback: translate: fcmp bfloat

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:translate: fcmp bfloat NEW
Occurrences:1237 in 820 configs, 246 test files
Snippet from:half-isnan.222b916523.ll (mutant of half-isnan.ll) @half_is_nan via llvm-extract + llvm-reduce
Config:-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32
Local check:reproduces at 04ca53e65f
Compiler Explorer:https://godbolt.org/z/4oMGKj9WP (llc-assertions-trunk, checked 2026-10-14 11:03 UTC): G reproduces

Snippet:

define i1 @half_is_nan() {
  %C = fcmp one bfloat 0.000000e+00, 0.000000e+00
  ret i1 %C
}

Compiler Explorer panes:

PaneOptionsExitInstsstderr
GlobalISel-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.*02remark: <unknown>:0:0: unable to translate instruction: fcmp: ' %C = fcmp one bfloat 0.000000e+00, 0.000000e+00' (in function: half_is_nan)
warning: Instruction selection used fallback path for half_is_nan
SelectionDAG (control)-mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -global-isel=002-

Reproduce:

llc -mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zhinxmin -verify-machineinstrs -target-abi ilp32 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fcmp: '  %C = fcmp one bfloat 0.000000e+00, 0.000000e+00' (in function: half_is_nan)
warning: Instruction selection used fallback path for half_is_nan

Occurrences (1237) (first 50):

InputFunctionConfig
abdu.20ab4f17c9.ll (mutant of abdu.ll)abd_minmax_i32-mtriple=riscv64
abdu.3b30ed1946.ll (mutant of abdu.ll)abd_minmax_i32-mtriple=riscv64 -mattr=+zbb
abdu.7dcd7c54ec.ll (mutant of abdu.ll)abd_minmax_i32-mtriple=riscv32 -mattr=+zbb
abdu.d7c27d0cb1.ll (mutant of abdu.ll)abd_minmax_i32-mtriple=riscv32
add-imm.26660c0bee.ll (mutant of add-imm.ll)add64_accept-mtriple=riscv64 -verify-machineinstrs
add-imm.3ad0704b43.ll (mutant of add-imm.ll)add64_accept-mtriple=riscv32 -verify-machineinstrs
add_sext_shl_constant.0d8e722172.ll (mutant of add_sext_shl_constant.ll)add_shl_moreOneUse_sh3add-mtriple=riscv64
add_sext_shl_constant.788209726b.ll (mutant of add_sext_shl_constant.ll)add_shl_moreOneUse_sh3add-mtriple=riscv64 -mattr=+xandesperf
add_sext_shl_constant.881e466a9b.ll (mutant of add_sext_shl_constant.ll)add_shl_moreOneUse_sh3add-mtriple=riscv64 -mattr=+zba
addc-adde-sube-subc.0b9aa28eea.ll (mutant of addc-adde-sube-subc.ll)addc_adde-mtriple=riscv32 -verify-machineinstrs
addrspacecast.091749589d.ll (mutant of addrspacecast.ll)cast0-mtriple=riscv64 -verify-machineinstrs
addrspacecast.2942a28267.ll (mutant of addrspacecast.ll)cast0-mtriple=riscv32 -verify-machineinstrs
alloca.5e1d4a848b.ll (mutant of alloca.ll)alloca_callframe-mtriple=riscv32 -verify-machineinstrs
allow-check.52752ad90e.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv32 -fast-isel=0
allow-check.f89e7ff3d0.ll (mutant of allow-check.ll)test_runtime-mtriple=riscv64 -fast-isel=0
alu64.39712905ce.ll (mutant of alu64.ll)sra-mtriple=riscv64 -verify-machineinstrs
alu64.96acb05030.ll (mutant of alu64.ll)sra-mtriple=riscv32 -verify-machineinstrs
and-negpow2-cmp.32db2e2f8c.ll (mutant of and-negpow2-cmp.ll)test9-mtriple=riscv32
and-negpow2-cmp.c811af93b0.ll (mutant of and-negpow2-cmp.ll)test9-mtriple=riscv64
and.3454ee73e4.ll (mutant of and.ll)and64_0xfffffffffffff000-mtriple=riscv32 -verify-machineinstrs
and.9b0cd6ad71.ll (mutant of and.ll)and64_0xfffffffffffff000-mtriple=riscv64 -verify-machineinstrs
atomic-load-store.10db122773.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a,+zalasr,+ztso -verify-machineinstrs
atomic-load-store.1fcf9b6b71.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a,+ztso,+no-trailing-seq-cst-fence -verify-machineinstrs
atomic-load-store.2f9f7af717.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a,+zalasr,+ztso -verify-machineinstrs
atomic-load-store.3b0536ca92.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a -verify-machineinstrs
atomic-load-store.47ac975303.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -verify-machineinstrs
atomic-load-store.47aee157c6.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a,+zalasr -verify-machineinstrs
atomic-load-store.58b30de2d8.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+zalrsc -verify-machineinstrs
atomic-load-store.8733416b80.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+zalrsc -verify-machineinstrs
atomic-load-store.8b32e0d0ec.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a,+no-trailing-seq-cst-fence -verify-machineinstrs
atomic-load-store.9b79b07db1.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a -verify-machineinstrs
atomic-load-store.a59725629a.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a,+zalasr -verify-machineinstrs
atomic-load-store.b69299a220.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a,+ztso,+no-trailing-seq-cst-fence -verify-machineinstrs
atomic-load-store.bd0aef21fa.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -verify-machineinstrs
atomic-load-store.c443bc3048.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv32 -mattr=+a,+ztso -verify-machineinstrs
atomic-load-store.ed15860eaf.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a,+no-trailing-seq-cst-fence -verify-machineinstrs
atomic-load-store.fdedea1651.ll (mutant of atomic-load-store.ll)atomic_store_i8_unordered-mtriple=riscv64 -mattr=+a,+ztso -verify-machineinstrs
attributes.006d01ed14.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+zvfh
attributes.010070f903.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+zfbfmin
attributes.0164626a1f.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+sha
attributes.016c36596c.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+zihpm
attributes.01c7c5b61a.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+shvsatpa
attributes.025aaab364.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+experimental-zicfilp
attributes.02ce122ec4.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+rva20u64
attributes.036e5267a6.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+zkn,+zkr,+zkt
attributes.03c4b1e7c6.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+experimental-zvfbdota32f
attributes.03d6e9ff12.ll (mutant of attributes.ll)addi-mtriple=riscv32 -mattr=+zca
attributes.042db72ea0.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+zicbom
attributes.053673d3b5.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+smdbltrp
attributes.05a7723eff.ll (mutant of attributes.ll)addi-mtriple=riscv64 -mattr=+zbkc

Generated 2026-10-15 08:05 UTC.