fallback: legalize: G_FFREXP s64,s32

Run:explore-bc8218b282-20261015-075519
Kind:fallback
Category:legalize: G_FFREXP s64,s32
Occurrences:42 in 6 configs, 2 test files
Snippet from:double-intrinsics.ll @frexp_double via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
Local check:reproduces at bc8218b282
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define { double, i32 } @frexp_double(double %x) #0 {
  %a = call { double, i32 } @llvm.frexp.f64.i32(double %x)
  ret { double, i32 } %a
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { double, i32 } @llvm.frexp.f64.i32(double) #1

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: %1:_(s64), %2:_(s32) = G_FFREXP %0:_ (in function: frexp_double)
warning: Instruction selection used fallback path for frexp_double

Occurrences (42):

InputFunctionConfig
double-intrinsics.llfrexp_double-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
double-intrinsics.llfrexp_double-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
double-intrinsics.llfrexp_double-mtriple=riscv32 -verify-machineinstrs
double-intrinsics.llfrexp_double-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
double-intrinsics.llfrexp_double-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
double-intrinsics.llfrexp_double-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f64_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f64_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.1eed5cdccd.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.2ca290c03e.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.32e070463f.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.39044043c5.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.3b5403f302.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.626f66266a.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.6fcb3e2370.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.76bb3fab4d.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.9a2113cfbf.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.b3116279f4.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.ba8d0add9d.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.bfe2c954c0.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.c8c3be4272.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.ce464a3ef5.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.e91397f906.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.ea4ddd34c9.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.f720f11860.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.f9ef035a87.ll (mutant of llvm.frexp.ll)test_frexp_f64_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64

Generated 2026-10-15 08:05 UTC.