fallback: legalize: G_FADD
| Run: | main-b577f07195-20261129-101839 |
| Kind: | fallback |
| Category: | legalize: G_FADD |
| Occurrences: | 134 in 34 configs, 22 test files |
| Snippet from: | half-imm.ll @half_imm_op via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
; Function Attrs: nounwind
define half @half_imm_op(half %a) #0 {
%1 = fadd half %a, 1.000000e+00
ret half %1
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+zfhmin -verify-machineinstrs -target-abi ilp32f -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(f16) = G_FADD %0:_, %1:_ (in function: half_imm_op)
warning: Instruction selection used fallback path for half_imm_op
Occurrences (134) (first 15):
| Input | Function | Config |
|---|
| fp128.ll | fadd | -mtriple=riscv32 |
| fp128.ll | constant | -mtriple=riscv32 |
| fp128.ll | fadd | -mtriple=riscv32 -mattr=+d |
| fp128.ll | constant | -mtriple=riscv32 -mattr=+d |
| bf16-promote.ll | test_fadd | -mtriple=riscv32 -mattr=+d -target-abi=ilp32d |
| bf16-promote.ll | test_fadd | -mtriple=riscv64 -mattr=+d -target-abi=lp64d |
| bfloat-mem.ll | flh | -mtriple=riscv32 -mattr=+zfbfmin -verify-machineinstrs -target-abi ilp32f |
| bfloat-mem.ll | flh | -mtriple=riscv64 -mattr=+zfbfmin -verify-machineinstrs -target-abi lp64f |
| bfloat.ll | bfloat_load | -mtriple=riscv32 -mattr=+d -target-abi=ilp32 -verify-machineinstrs |
| bfloat.ll | bfloat_load | -mtriple=riscv32 -mattr=+d -target-abi=ilp32d -verify-machineinstrs |
| bfloat.ll | bfloat_load | -mtriple=riscv32 -verify-machineinstrs |
| bfloat.ll | bfloat_load | -mtriple=riscv64 -mattr=+d -target-abi=lp64 -verify-machineinstrs |
| bfloat.ll | bfloat_load | -mtriple=riscv64 -mattr=+d -target-abi=lp64d -verify-machineinstrs |
| bfloat.ll | bfloat_load | -mtriple=riscv64 -verify-machineinstrs |
| fp16-promote.ll | test_fadd | -mtriple=riscv32 -mattr +d -target-abi ilp32d |
Generated 2026-11-29 14:49 UTC.