[PATCH] D29468: FunctionImport: Use IRMover directly. NFCI.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 2 12:05:59 PST 2017


pcc created this revision.

The importer was previously using ModuleLinker in a sort of "IRMover mode". Use
IRMover directly instead in order to remove a level of indirection.

I will remove all importing support from ModuleLinker in a separate
change.


https://reviews.llvm.org/D29468

Files:
  llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h
  llvm/lib/Linker/LinkModules.cpp
  llvm/lib/Transforms/IPO/FunctionImport.cpp
  llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29468.86868.patch
Type: text/x-patch
Size: 6387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170202/dfead985/attachment.bin>


More information about the llvm-commits mailing list