[PATCH] D50017: ELF: Add libcall symbols to the link when LTO is being used.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 30 15:08:48 PDT 2018


ruiu added a comment.

It might be a silly question, but are these functions (e.g. __udivhi3 or __mulxf3) are functions in static archives? It seems like calling such small functions have relatively large overhead, which appears contrary to the aim of LTO. I'm wondering why LTO creates new function calls to them. Don't you want to inline these functions using LTO?


Repository:
  rL LLVM

https://reviews.llvm.org/D50017





More information about the llvm-commits mailing list