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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 12:47:19 PDT 2023


efriedma added a comment.

> it sets TLII->disableAllFunctions();. I'm guessing that's not sufficient here?

That just disables TargetLibraryInfo, i.e. recognition of non-intrinsic symbols as having some particular meaning.  Backends generally still assume that compiler-rt.builtins or libgcc, plus memcpy/memmove/memset, are available.


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