fallback: legalize: G_FPTOSI s128,s16
| Run: | explore-04ca53e65f-20261014-114124 |
| Kind: | fallback |
| Category: | legalize: G_FPTOSI s128,s16 |
| Occurrences: | 2 in 1 configs, 1 test files |
| Snippet from: | rv64-half-convert.ll @fptosi_f16_to_i128 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i128 @fptosi_f16_to_i128(half %a) #0 {
%1 = fptosi half %a to i128
ret i128 %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %1:_(s128) = G_FPTOSI %0:_(s16) (in function: fptosi_f16_to_i128)
warning: Instruction selection used fallback path for fptosi_f16_to_i128
Occurrences (2):
| Input | Function | Config |
|---|
| rv64-half-convert.ll | fptosi_f16_to_i128 | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f |
| rv64-half-convert.4769321643.ll (mutant of rv64-half-convert.ll) | fptosi_f16_to_i128 | -mtriple=riscv64 -mattr=+zfh -verify-machineinstrs -target-abi lp64f |
Generated 2026-10-15 08:05 UTC.