[PATCH] D49434: Put "built-in" function definitions in global Used list, for LTO. (fix bug 34169)

Caroline Tice via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 17 12:15:46 PDT 2018


cmtice added a comment.

pcc@  Originally I tried to make the change in ModuleSummaryAnalysis.cpp, but  it turns out that this is not allowed in LLVM:  I am not supposed to make changes to the IR in the Analysis layer of LLVM.  I need to find some place in the Transform layer to make the change.  Hence my first guess as to a location: GlobalOpt.cpp.  I would be happy to make the change in some other location instead, but it must be someplace in the Transform layer.


https://reviews.llvm.org/D49434





More information about the llvm-commits mailing list