[PATCH] D24076: [ARM] Use __rt_div functions for DIVREM on Windows

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 14 02:28:05 PDT 2016


mstorsjo added a comment.

Filed a plain bug report on the original issue at https://llvm.org/bugs/show_bug.cgi?id=30378 since it seems like my attempt at this won't be completable easily.


================
Comment at: test/CodeGen/ARM/divmod-eabi.ll:159
@@ -158,3 +152,1 @@
-; WINDOWS: mov [[div2:r[0-9]+]], r1
-; WINDOWS: __moddi3
   %add = add nsw i64 %rem, %div
----------------
Here, the old test reference even shows a call to __moddi3, which is not available on ARM/Windows.


https://reviews.llvm.org/D24076





More information about the llvm-commits mailing list