[PATCH] D45180: libcalls must check for "RtLibUseGOT" metadata during simplification
Reid Kleckner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 16:02:44 PDT 2018
rnk added inline comments.
================
Comment at: lib/Transforms/Utils/BuildLibCalls.cpp:115-116
+
+bool llvm::inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI,
+ Module *M) {
LibFunc TheLibFunc;
----------------
Can you get away without adding the extra argument? You should be able to retreive the module with `F.getParent()`.
https://reviews.llvm.org/D45180
More information about the llvm-commits
mailing list