[PATCH] D34708: [NVPTX] Allow to make libcalls that are defined in the current module.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 18 01:31:42 PST 2018
arsenm added inline comments.
================
Comment at: lib/CodeGen/SelectionDAG/SelectionDAG.cpp:8420
+ if (Function != nullptr) {
+ auto PtrTy = TLI->getPointerTy(getDataLayout());
+ return getGlobalAddress(Function, SDLoc(Op), PtrTy);
----------------
This needs to preserve the address space of the function
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D34708/new/
https://reviews.llvm.org/D34708
More information about the llvm-commits
mailing list