fallback: legalize: G_EXTRACT s64,s96
| Run: | main-04ca53e65f-20261014-105623 |
| Kind: | fallback |
| Category: | legalize: G_EXTRACT s64,s96 NEW |
| Occurrences: | 1 in 1 configs, 1 test files |
| Snippet from: | fp128.1518aa6195.ll (mutant of fp128.ll) @fptosi_fp128_to_i96 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define i96 @fptosi_fp128_to_i96(fp128 %a) #0 {
%result = fptosi fp128 %a to i96
store i96 %result, ptr poison, align 4
ret i96 %result
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %8:_(s64) = G_EXTRACT %3:_(s96), 0 (in function: fptosi_fp128_to_i96)
warning: Instruction selection used fallback path for fptosi_fp128_to_i96
Occurrences (1):
| Input | Function | Config |
|---|
| fp128.1518aa6195.ll (mutant of fp128.ll) | fptosi_fp128_to_i96 | -mtriple=riscv64 -verify-machineinstrs |
Generated 2026-10-15 08:05 UTC.