fallback: legalize: G_FADD s128
| Run: | main-bc8218b282-20261015-074651 |
| Kind: | fallback |
| Category: | legalize: G_FADD s128 |
| Occurrences: | 5 in 1 configs, 1 test files |
| Snippet from: | musttail-indirect-args.ll @caller_musttail_computed via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at bc8218b282 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
declare i32 @callee_musttail_indirect(fp128)
; Function Attrs: nounwind
define i32 @caller_musttail_computed(fp128 %a) #0 {
%sum = fadd fp128 %a, %a
%r = musttail call i32 @callee_musttail_indirect(fp128 %sum)
ret i32 %r
}
attributes #0 = { nounwind }
Reproduce:
llc -mtriple=riscv32 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(s128) = G_FADD %0:_, %0:_ (in function: caller_musttail_computed)
warning: Instruction selection used fallback path for caller_musttail_computed
Occurrences (5):
Generated 2026-10-15 08:05 UTC.