[PATCH] D60809: [builtins] __gnu_[u]ldivmod_helper for libgcc compatibility

Yi Kong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 09:41:17 PDT 2019


kongyi added a comment.

In D60809#1469928 <https://reviews.llvm.org/D60809#1469928>, @peter.smith wrote:

> Can you update the description to give some context on why these functions are needed in compiler-rt? To the best of my knowledge __gnu_uldivmod_helper is no longer in libgcc and __gnu_ldivmod is only called from the v6-m (cortex-m0) implementation of aeabi_ldivmod in libgcc/config/arm/bpabi-v6m.S which would imply that these functions would not not get called.
>
> References:
>
> - libgcc https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00909.html (removal of __gnu_uldivmod_helper)
> - Original libgcc patch with motivation to remove these https://patchwork.ozlabs.org/patch/324850/


Please refer to the updated change description.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D60809/new/

https://reviews.llvm.org/D60809





More information about the llvm-commits mailing list