fallback: legalize: G_FFREXP s32

Run:main-04ca53e65f-20261014-105623
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 04ca53e65f
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.0b5d25027e.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.186ca357ec.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.22e2dbe5f9.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.8c4c636c6d.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.8fe3a3941e.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.a07a23c7ab.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.a7e6c5446f.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.b8838ea6f0.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.bc8f85e409.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.c32e061e58.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.e0d86eee2f.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.ed49488b71.ll (mutant of llvm.frexp.ll)test_frexp_f32_i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.