fallback: legalize: G_FFREXP s128,s32

Run:main-04ca53e65f-20261014-113325
Kind:fallback
Category:legalize: G_FFREXP s128,s32
Occurrences:33 in 6 configs, 1 test files
Snippet from:llvm.frexp.ll @test_frexp_f128_i32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
Local check:reproduces at 04ca53e65f
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

; Function Attrs: nounwind
define { fp128, i32 } @test_frexp_f128_i32(fp128 %a) #0 {
  %result = call { fp128, i32 } @llvm.frexp.f128.i32(fp128 %a)
  ret { fp128, i32 } %result
}

; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { fp128, i32 } @llvm.frexp.f128.i32(fp128) #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: %3:_(s128), %4:_(s32) = G_FFREXP %0:_ (in function: test_frexp_f128_i32)
warning: Instruction selection used fallback path for test_frexp_f128_i32

Occurrences (33):

InputFunctionConfig
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_f128_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f128_i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_f128_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.0b5d25027e.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.0f8e8c200a.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.186ca357ec.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.31ccf49938.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.3bf91aecfc.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.4eeeb776a8.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.5564121c8d.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.61c26bc814.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.7ed3d39bf8.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.8c4c636c6d.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.a07a23c7ab.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.a7e6c5446f.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.aea15a005a.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.b56ee0fd0e.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.ed49488b71.ll (mutant of llvm.frexp.ll)test_frexp_f128_i32-mtriple=riscv32 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.