[PATCH] D60809: [builtins] __gnu_{ldivmod, uldivmod}_helper for libgcc compatibility

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 03:12:09 PDT 2019


peter.smith added a comment.

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/


Repository:
  rCRT Compiler Runtime

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

https://reviews.llvm.org/D60809





More information about the llvm-commits mailing list