[PATCH] D154364: [LTO] Allow library calls to be internalized in freestanding mode

Steven Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 14:51:52 PDT 2023


steven_wu added a comment.

If we can maintain a map from some compiler builtin intrinsics to possible libcall functions that codegen can emit from them, it is possible that those functions can just be emitted as Undef in the LTO object symbol table. We can drop all the hacks that mark them as `used` to prevent them from dead stripped.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154364



More information about the llvm-commits mailing list