Issue 239145
Summary [X86][SelectionDAG] No Libcall available for fmodf when using fp80 as long double on windows
Labels backend:X86
Assignees
Reporter Maetveis
    Given a module and compilation command like the following:
```llvm
; RUN: llc -mtriple=x86_64-pc-windows-msvc <%s
target triple = "x86_64-pc-windows-msvc"
define { x86_fp80, x86_fp80 } @test_modf(x86_fp80 %val) {
entry:
  %0 = call { x86_fp80, x86_fp80 } @llvm.modf.f80(x86_fp80 %val)
  ret { x86_fp80, x86_fp80 } %0
}

!llvm.module.flags = !{!3409}
!3409 = !{i32 1, !"long-double-type", !"x86_fp80"}
```
results in: `error: no libcall available for fmodf` (https://godbolt.org/z/KfbW99erG)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to