fallback: legalize: G_FMODF s128

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_FMODF s128
Occurrences:3 in 1 configs, 1 test files
Snippet from:fp128.ll @modf via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define { fp128, fp128 } @modf(fp128 %a) #0 {
  %result = call { fp128, fp128 } @llvm.modf.f128(fp128 %a)
  ret { fp128, fp128 } %result
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { fp128, fp128 } @llvm.modf.f128(fp128) #1

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %3:_(s128), %4:_ = G_FMODF %0:_ (in function: modf)
warning: Instruction selection used fallback path for modf

Occurrences (3):

InputFunctionConfig
fp128.llmodf-mtriple=riscv32 -verify-machineinstrs
fp128.74ff0e5f38.ll (mutant of fp128.ll)modf-mtriple=riscv32 -verify-machineinstrs
fp128.bad147080a.ll (mutant of fp128.ll)modf-mtriple=riscv32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.