fallback: legalize: G_FFREXP s32

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

Snippet:

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

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { float, i32 } @llvm.frexp.f32.i32(float) #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=ilp32f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32f -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (36):

InputFunctionConfig
float-intrinsics.llfrexp_float-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32f
float-intrinsics.llfrexp_float-mtriple=riscv32 -mattr=+f -verify-machineinstrs -target-abi=ilp32f
float-intrinsics.llfrexp_float-mtriple=riscv32 -verify-machineinstrs
float-intrinsics.llfrexp_float-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
float-intrinsics.llfrexp_float-mtriple=riscv64 -mattr=+f -verify-machineinstrs -target-abi=lp64f
float-intrinsics.llfrexp_float-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f32_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f32_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.0988e84a78.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.192757b37d.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.1eed5cdccd.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.32e070463f.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.73abbf1035.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.9a2113cfbf.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.b3116279f4.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.ce464a3ef5.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.cec35cfb2b.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.e1f2bf809f.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.ea4ddd34c9.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.fd086b6425.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.