https://llvm.org/bugs/show_bug.cgi?id=30378
Bug ID: 30378 Summary: ARM/Windows calls to unavailable function __moddi3 Product: libraries Version: trunk Hardware: PC OS: All Status: NEW Severity: normal Priority: P Component: Backend: ARM Assignee: unassignedb...@nondot.org Reporter: mar...@martin.st CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 17260 --> https://llvm.org/bugs/attachment.cgi?id=17260&action=edit Sample input data When targeting ARM/Windows, 32 bit remainder operations get mapped to __rt_sdiv + mls properly, but 64 bit operations end up as calls to __moddi3, which doesn't exist in the MSVC builtins library. The attached sample data shows how it behaves for these operations (built with "llc -mtriple thumbv7-windows rem64.ll -o -"). One attempt at solving this has been made in https://reviews.llvm.org/D24076. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs