fallback: translate: fcmp <N x double>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: fcmp <N x double> M
Occurrences:3 in 3 configs, 2 test files, 6 more counted only
Snippet from:fastcc-without-f-reg.203c28fd13.ll (mutant of fastcc-without-f-reg.ll) @callee_double_32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.5 = external global <32 x i1>

; Function Attrs: nounwind
define fastcc double @callee_double_32(<32 x double> %A) #0 {
  %C = fcmp oge <32 x double> %A, %A
  %B = extractelement <32 x double> %A, i32 0
  store <32 x i1> %C, ptr @G.5, align 4
  ret double %B
}

attributes #0 = { nounwind }

Reproduce:

llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O3 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: fcmp: '  %C = fcmp oge <32 x double> %A, %A' (in function: callee_double_32)
warning: Instruction selection used fallback path for callee_double_32

Occurrences (3):

InputFunctionConfig
fastcc-without-f-reg.203c28fd13.ll (mutant of fastcc-without-f-reg.ll)callee_double_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx,+zvbb -O3
fp-fcanonicalize.663d4586e2.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0
fp-fcanonicalize.b9f0ea94c0.ll (mutant of fp-fcanonicalize.ll)fcanonicalize_v2f64-mtriple=riscv64 -verify-machineinstrs -mattr=+zdinx -O0 -code-model=medium

Generated 2026-11-29 14:49 UTC.