fallback: translate: call llvm.experimental.constrained.maxnum.f64

Run:explore-04ca53e65f-20261014-114124
Kind:fallback
Category:translate: call llvm.experimental.constrained.maxnum.f64
Occurrences:24 in 6 configs, 2 test files
Snippet from:double-arith-strict.ll @fmax_d via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind strictfp
define double @fmax_d(double %a, double %b) #0 {
  %1 = call double @llvm.experimental.constrained.maxnum.f64(double %a, double %b, metadata !"fpexcept.strict") #2
  ret double %1
}

; Function Attrs: nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite)
declare double @llvm.experimental.constrained.maxnum.f64(double, double, metadata) #1

attributes #0 = { nounwind strictfp }
attributes #1 = { nocallback nofree nosync nounwind strictfp willreturn memory(inaccessiblemem: readwrite) }
attributes #2 = { strictfp }

Reproduce:

llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.constrained.maxnum.f64: '  %1 = call double @llvm.experimental.constrained.maxnum.f64(double %a, double %b, metadata !"fpexcept.strict") #2' (in function: fmax_d)
warning: Instruction selection used fallback path for fmax_d

Occurrences (24):

InputFunctionConfig
double-arith-strict.llfmax_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-arith-strict.llfmax_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-arith-strict.llfmax_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.llfmax_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-arith-strict.llfmax_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-arith-strict.llfmax_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-intrinsics-strict.llmaxnum_f64-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.00b80d8678.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-arith-strict.1e96969c65.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-arith-strict.337611d685.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32d
double-arith-strict.64bfb685ef.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=ilp32
double-arith-strict.6bb5033c0f.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-arith-strict.782cbdeaae.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.832b49a042.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.a2f0d9d520.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.bef89cfe3e.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64
double-arith-strict.bf8452f136.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d
double-arith-strict.c4d30aec6e.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv32 -verify-machineinstrs -disable-strictnode-mutation
double-arith-strict.ffe4a60fe5.ll (mutant of double-arith-strict.ll)fmax_d-mtriple=riscv64 -mattr=+d -verify-machineinstrs -disable-strictnode-mutation -target-abi=lp64d

Generated 2026-10-15 08:05 UTC.