[LLVMdev] [ARM]__modsi3 call in android

Renato Golin renato.golin at linaro.org
Tue Jul 28 10:19:19 PDT 2015


On 28 July 2015 at 17:52, Sumanth Gundapaneni <sgundapa at codeaurora.org> wrote:
> Android bionic libc doesn’t provide a __modsi3, instead it provides
> “__aeabi_idivmod”.

Hi Sumanth,

Have a look at ARMSubtarget.h, functions:

  bool isTargetAEABI()

They control the lowering of DIV/MOD calls in ARMISelLowering.cpp.
Maybe Android needs to be in?

cheers,
--renato




More information about the llvm-dev mailing list