fallback: legalize: G_FMODF
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | legalize: G_FMODF |
| Occurrences: | 16 in 12 configs, 3 test files |
| Snippet from: | half-intrinsics.ll @test_modf_f16 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define { half, half } @test_modf_f16(half %a) #0 {
%result = call { half, half } @llvm.modf.f16(half %a)
ret { half, half } %result
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { half, half } @llvm.modf.f16(half) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback 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:_(f16) = G_FMODF %0:_ (in function: test_modf_f16)
warning: Instruction selection used fallback path for test_modf_f16
Occurrences (16) (first 15):
| Input | Function | Config |
|---|
| fp128.ll | modf | -mtriple=riscv32 |
| fp128.ll | modf | -mtriple=riscv32 -mattr=+d |
| fp128.ll | modf | -mtriple=riscv32 -verify-machineinstrs |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv32 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi ilp32d |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv32 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32d |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv32 -mattr=+zfh -verify-machineinstrs -target-abi ilp32f |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv32 -verify-machineinstrs |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv64 -mattr=+d -mattr=+zfh -verify-machineinstrs -target-abi lp64d |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv64 -mattr=+d -mattr=+zfhmin -verify-machineinstrs -target-abi lp64d |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv64 -mattr=+zfhmin -verify-machineinstrs -target-abi lp64f |
| half-intrinsics.ll | test_modf_f16 | -mtriple=riscv64 -verify-machineinstrs |
| fp128.3833588b2d.ll (mutant of fp128.ll) | modf | -mtriple=riscv32 -mattr=+d |
| fp128.ac8f91c94b.ll (mutant of fp128.ll) | modf | -mtriple=riscv32 |
Generated 2026-11-29 14:49 UTC.