fallback: translate: fcmp <N x float>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: fcmp <N x float> M
Occurrences:16 in 15 configs, 15 test files, 256 more counted only
Snippet from:float-imm.dcf27f495b.ll (mutant of float-imm.ll) @undef via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O1
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <4 x i1>

; Function Attrs: nounwind
define float @undef() #0 {
  %C = fcmp ugt <4 x float> splat (float 1.000000e+00), splat (float +inf)
  store <4 x i1> %C, ptr @G, align 1
  ret float undef
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fcmp: '  %C = fcmp ugt <4 x float> splat (float 1.000000e+00), splat (float +inf)' (in function: undef)
warning: Instruction selection used fallback path for undef

Occurrences (16) (first 15):

InputFunctionConfig
calling-conv-ilp32-ilp32f-common.68187b3b1f.ll (mutant of calling-conv-ilp32-ilp32f-common.ll)callee_double_in_regs-mtriple=riscv32 -verify-machineinstrs -frame-pointer=all -mattr=+zhinx -O1 -code-model=medium
constantpool.d740dffb4c.ll (mutant of constantpool.ll)constpool_f64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O1
double-imm.44d33b961d.ll (mutant of double-imm.ll)double_imm-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O3
emutls.2bdea05890.ll (mutant of emutls.ll)get_external_x-mtriple=riscv32 -emulated-tls -relocation-model=pic -mattr=+zdinx -O0 -verify-machineinstrs
fastcc-without-f-reg.b4efe36a9b.ll (mutant of fastcc-without-f-reg.ll)callee_float_32-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx,+zba -O2
fixed-vectors-stepvector.5ca980d7ec.ll (mutant of fixed-vectors-stepvector.ll)stepvector_v8i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O3
fixed-vectors-stepvector.e5098417f7.ll (mutant of fixed-vectors-stepvector.ll)stepvector_v8i64-mtriple=riscv32 -verify-machineinstrs -mattr=+zdinx -O3
float-arith.2e1dbd8277.ll (mutant of float-arith.ll)fmin_s-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx,+xtheadba,+zcb -O1
float-convert.a124c94a44.ll (mutant of float-convert.ll)fcvt_wu_s_sat-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0
float-imm.dcf27f495b.ll (mutant of float-imm.ll)undef-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O1
float-intrinsics.833e5730ec.ll (mutant of float-intrinsics.ll)isnegfinite_fpclass-mtriple=riscv64 -verify-machineinstrs -target-abi=lp64 -mattr=+zfinx -O0
float-select-icmp.b43ecc5f05.ll (mutant of float-select-icmp.ll)select_icmp_ule-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zfinx -O0
fpenv-xlen.0a9ca279d0.ll (mutant of fpenv-xlen.ll)func_get_fpenv-mtriple=riscv64 -verify-machineinstrs -mattr=+zfinx -O0
half-convert.4f0a444fa9.ll (mutant of half-convert.ll)bitcast_h_i16-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zdinx,+zhinxmin -O3
shadowcallstack.8c3ac20c5e.ll (mutant of shadowcallstack.ll)f2_hw-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O2

Generated 2026-11-29 14:49 UTC.