fallback: legalize: G_FSUB <32 x s32>

Run:main-04ca53e65f-20261014-105623
Kind:fallback
Category:legalize: G_FSUB <32 x s32> NEW
Occurrences:1 in 1 configs, 1 test files
Snippet from:fastcc-float.2371b698aa.ll (mutant of fastcc-float.ll) @callee via llvm-extract
Config:-mtriple=riscv32 -mattr=+f,+d -target-abi=ilp32 -verify-machineinstrs
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global <32 x float>

; Function Attrs: nounwind
define fastcc float @callee(<32 x float> %A) #0 {
  %LGV = load <32 x float>, ptr @G, align 128
  %A1 = alloca <32 x i1>, align 4
  store <32 x i1> poison, ptr %A1, align 4
  %C = fcmp ord <32 x float> %A, splat (float +inf)
  %B = extractelement <32 x float> %A, i32 0
  store <32 x i1> %C, ptr %A1, align 4
  %B2 = fsub <32 x float> %A, %LGV
  store <32 x float> %B2, ptr @G, align 128
  store <32 x float> %LGV, ptr %A1, align 128
  ret float %B
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %54:_(<32 x s32>) = G_FSUB %0:_, %45:_ (in function: callee)
warning: Instruction selection used fallback path for callee

Occurrences (1):

InputFunctionConfig
fastcc-float.2371b698aa.ll (mutant of fastcc-float.ll)callee-mtriple=riscv32 -mattr=+f,+d -target-abi=ilp32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.