[ARM] Move GNUEABI divmod to __aeabi_divmod*
authorRenato Golin <renato.golin@linaro.org>
Wed, 3 Feb 2016 16:10:54 +0000 (16:10 +0000)
committerRenato Golin <renato.golin@linaro.org>
Wed, 3 Feb 2016 16:10:54 +0000 (16:10 +0000)
commit6027dd38efdd46415b09a1205b51fc325eb64338
tree0eb573ba98b4919d9dfaa1083d51b5810fdcc057
parent59df5e89c24918a7efb206c4454feecb6c52f43b
[ARM] Move GNUEABI divmod to __aeabi_divmod*

The GNU toolchain emits __aeabi_divmod for soft-divide on ARM cores
which happens to be a lot faster than __divsi3/__modsi3 when the core
has hardware divide instructions. Do the same here.

Fixes PR26450.

llvm-svn: 259657
llvm/lib/Target/ARM/ARMISelLowering.cpp
llvm/test/CodeGen/ARM/divmod-eabi.ll