fallback: legalize: G_FMUL s128
| Run: | main-04ca53e65f-20261014-113325 |
| Kind: | fallback |
| Category: | legalize: G_FMUL s128 NEW |
| Occurrences: | 2 in 1 configs, 1 test files |
| Snippet from: | lrint-conv.d3cabad91a.ll (mutant of lrint-conv.ll) @test_llrint_ixx_f128 via llvm-extract |
| Config: | -mtriple=riscv32 |
| Local check: | reproduces at 04ca53e65f |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.2 = external global fp128
@G.3 = external global fp128
; Function Attrs: nounwind
define i64 @test_llrint_ixx_f128(fp128 %x) #0 {
%LGV = load fp128, ptr @G.2, align 16
%res = tail call i64 @llvm.llrint.i64.f128(fp128 %x)
%B = fmul fp128 %x, %LGV
store fp128 %B, ptr @G.3, align 16
ret i64 %res
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.llrint.i64.f128(fp128) #1
attributes #0 = { nounwind }
attributes #1 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
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: %5:_(s128) = G_FMUL %0:_, %2:_ (in function: test_llrint_ixx_f128)
warning: Instruction selection used fallback path for test_llrint_ixx_f128
Occurrences (2):
| Input | Function | Config |
|---|
| lrint-conv.d3cabad91a.ll (mutant of lrint-conv.ll) | test_llrint_ixx_f128 | -mtriple=riscv32 |
| lrint-conv.d3cabad91a.ll (mutant of lrint-conv.ll) | test_llrint_ixx_f128 | -mtriple=riscv32 |
Generated 2026-10-15 08:05 UTC.