fallback: translate: frem <N x float>

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: frem <N x float> M
Occurrences:3 in 3 configs, 3 test files, 22 more counted only
Snippet from:fastcc-without-f-reg.06a6eedba6.ll (mutant of fastcc-without-f-reg.ll) @caller_float_32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global <32 x float>

; Function Attrs: nounwind
declare fastcc float @callee_float_32(<32 x float>) #0

; Function Attrs: nounwind
define float @caller_float_32(<32 x float> %A) #0 {
  %B = frem <32 x float> %A, %A
  %C = call fastcc float @callee_float_32(<32 x float> %A)
  store <32 x float> %B, ptr @G.3, align 128
  ret float %C
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: frem: '  %B = frem <32 x float> %A, %A' (in function: caller_float_32)
warning: Instruction selection used fallback path for caller_float_32

Occurrences (3):

InputFunctionConfig
double-arith.a2b63651d3.ll (mutant of double-arith.ll)fmadd_d-mtriple=riscv32 -verify-machineinstrs -target-abi=ilp32 -mattr=+zdinx -O0
fastcc-without-f-reg.06a6eedba6.ll (mutant of fastcc-without-f-reg.ll)caller_float_32-mtriple=riscv32 -verify-machineinstrs -mattr=+zfinx -O0
half-imm.db1d670612.ll (mutant of half-imm.ll)undef-mtriple=riscv32 -verify-machineinstrs -target-abi ilp32 -mattr=+zhinxmin -O3

Generated 2026-11-29 14:49 UTC.