fallback: legalize: G_FFREXP
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | legalize: G_FFREXP |
| Occurrences: | 102 in 15 configs, 4 test files |
| Snippet from: | half-intrinsics.ll @frexp_half via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define { half, i32 } @frexp_half(half %x) #0 {
%a = call { half, i32 } @llvm.frexp.f16.i32(half %x)
ret { half, i32 } %a
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare { half, i32 } @llvm.frexp.f16.i32(half) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %1:_(f16), %2:_(i32) = G_FFREXP %0:_ (in function: frexp_half)
warning: Instruction selection used fallback path for frexp_half
Occurrences (102) (first 15):
Generated 2026-11-29 14:49 UTC.