Go to file
Martin Storsjo f997759aef [ARM] Use __rt_div functions for divrem on Windows
This avoids falling back to calling out to the GCC rem functions
(__moddi3, __umoddi3) when targeting Windows.

The __rt_div functions have flipped the two arguments compared
to the __aeabi_divmod functions. To match MSVC, we emit a
check for division by zero before actually calling the library
function (even if the library function itself also might do
the same check).

Not all calls to __rt_div functions for division are currently
merged with calls to the same function with the same parameters
for the remainder. This is more wasteful than a div + mls as before,
but avoids calls to __moddi3.

Differential Revision: https://reviews.llvm.org/D24076

llvm-svn: 283383
2016-10-05 21:08:02 +00:00
clang Removing optimization from the RUN lines and adjusting the checks 2016-10-05 19:11:36 +00:00
clang-tools-extra [change-namespace] Pass Style to ChangeNamespaceTool. 2016-10-05 17:00:40 +00:00
compiler-rt [compiler-rt] Enable building iOS by default. 2016-10-05 20:45:36 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Provide vstore_half helper to workaround clc restrictions 2016-09-21 20:15:55 +00:00
libcxx Comment out failing test while I figure out who is at fault 2016-10-05 18:47:18 +00:00
libcxxabi [CMake] Fix libc++abi standalone cmake build. 2016-10-03 11:08:17 +00:00
libunwind libunwind: Add OpenBSD case for _Unwind_Ptr typedef 2016-09-28 15:37:21 +00:00
lld Early continue. NFC. 2016-10-05 21:06:32 +00:00
lldb Fixup the xfail situation on Windows. 2016-10-05 20:47:17 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [ARM] Use __rt_div functions for divrem on Windows 2016-10-05 21:08:02 +00:00
openmp [cmake] Fix for a bug https://llvm.org/bugs/show_bug.cgi?id=30489 "Cannot build with -DLIBOMP_FORTRAN_MODULES=True" 2016-09-30 22:05:45 +00:00
parallel-libs [SE] Change CoreTests target name 2016-09-27 15:32:52 +00:00
polly Build and run isl_test as part of check-polly 2016-10-04 19:48:40 +00:00