fallback: legalize: G_FMAXIMUM s128

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

Snippet:

define fp128 @fmaximum(fp128 %x, fp128 %y) {
  %a = call fp128 @llvm.maximum.f128(fp128 %x, fp128 %y)
  ret fp128 %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare fp128 @llvm.maximum.f128(fp128, fp128) #0

attributes #0 = { nocallback nocreateundeforpoison 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: %5:_(s128) = G_FMAXIMUM %0:_, %1:_ (in function: fmaximum)
warning: Instruction selection used fallback path for fmaximum

Occurrences (6):

InputFunctionConfig
fp128.llfmaximum-mtriple=riscv32 -verify-machineinstrs
fp128.llfmaximum-mtriple=riscv64 -verify-machineinstrs
fp128.06ebecfe2a.ll (mutant of fp128.ll)fmaximum-mtriple=riscv32 -verify-machineinstrs
fp128.1518aa6195.ll (mutant of fp128.ll)fmaximum-mtriple=riscv64 -verify-machineinstrs
fp128.44d7a83b0d.ll (mutant of fp128.ll)fmaximum-mtriple=riscv64 -verify-machineinstrs
fp128.f4d329a7b1.ll (mutant of fp128.ll)fmaximum-mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.