fallback: legalize: G_FFREXP <4 x s32>

Run:main-bc8218b282-20261015-074651
Kind:fallback
Category:legalize: G_FFREXP <4 x s32>
Occurrences:18 in 6 configs, 1 test files
Snippet from:llvm.frexp.ll @test_frexp_v4f32_v4i32 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 { <4 x float>, <4 x i32> } @test_frexp_v4f32_v4i32(<4 x float> %a) #0 {
  %result = call { <4 x float>, <4 x i32> } @llvm.frexp.v4f32.v4i32(<4 x float> %a)
  ret { <4 x float>, <4 x i32> } %result
}

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

Occurrences (18):

InputFunctionConfig
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv32 -mattr=+d -verify-machineinstrs -target-abi=ilp32d
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv32 -verify-machineinstrs
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv64 -mattr=+d -verify-machineinstrs -target-abi=lp64d
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs -target-abi=lp64
llvm.frexp.lltest_frexp_v4f32_v4i32-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_fract-mtriple=riscv64 -verify-machineinstrs
llvm.frexp.lltest_frexp_v4f32_v4i32_only_use_exp-mtriple=riscv64 -verify-machineinstrs

Generated 2026-10-15 08:05 UTC.