fallback: translate: frem <N x float>

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: frem <N x float> M
Occurrences:4 in 4 configs, 4 test files, 12 more counted only
Snippet from:fastcc-without-f-reg.657899367d.ll (mutant of fastcc-without-f-reg.ll) @f via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define hidden fastcc float @f(float %x) #0 {
entry:
  %B = frem <4 x float> splat (float +qnan), splat (float +qnan)
  store <4 x float> %B, ptr poison, align 16
  ret float %x
}

attributes #0 = { nounwind }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: frem: '  %B = frem <4 x float> splat (float +qnan), splat (float +qnan)' (in function: f)
warning: Instruction selection used fallback path for f

Occurrences (4):

InputFunctionConfig
fastcc-without-f-reg.657899367d.ll (mutant of fastcc-without-f-reg.ll)f-mtriple=riscv32 -verify-machineinstrs -mattr=+zhinx -O1
prefetch.8f134fa1be.ll (mutant of prefetch.ll)test_prefetch_instruction_locality_2-mtriple=riscv64 -verify-machineinstrs -mattr=+zicbop,+zihintntl,+a,+zfinx -O2
rv64-float-convert-strict.c30b6e0987.ll (mutant of rv64-float-convert-strict.ll)fptoui_f32_to_i128-mtriple=riscv64 -target-abi=lp64 -verify-machineinstrs -disable-strictnode-mutation -mattr=+zfinx -O1
saverestore.147ff84d7a.ll (mutant of saverestore.ll)callee_saved_fp-mtriple=riscv32 -mattr=+zfinx -O1 -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.