]> granicus.if.org Git - llvm/commit
ARM: use divmod libcalls on embedded MachO platforms too.
authorTim Northover <tnorthover@apple.com>
Mon, 8 May 2017 20:00:14 +0000 (20:00 +0000)
committerTim Northover <tnorthover@apple.com>
Mon, 8 May 2017 20:00:14 +0000 (20:00 +0000)
commita641bd93fbf83cdf0deb8c0cbcc36ff980b5a0f5
treef525a59bca490c27cba43c28ae66497fbfbb5c9f
parent550359cb2f9303bddf6c5f5b995bc1290d42e470
ARM: use divmod libcalls on embedded MachO platforms too.

The separated libcalls are implemented in terms of __divmodsi4 and __udivmodsi4
anyway, so we should always use them if possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302462 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/divmod-eabi.ll
test/CodeGen/ARM/divmod.ll