[ThinLTO] Remove post-pass metadata linking support
authorTeresa Johnson <tejohnson@google.com>
Tue, 29 Mar 2016 18:24:19 +0000 (18:24 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 29 Mar 2016 18:24:19 +0000 (18:24 +0000)
commitb703c77b033c48944aee437934cf15405fc113a8
tree70f90f3086c20b538481310c54435c0e5b022583
parentfee32cd9e29ad9437db49533e2f8b28ee9808c4a
[ThinLTO] Remove post-pass metadata linking support

Since we have moved to a model where functions are imported in bulk from
each source module after making summary-based importing decisions, there
is no longer a need to link metadata as a postpass, and all users have
been removed.

This essentially reverts r255909 and follow-on fixes.

llvm-svn: 264763
llvm/include/llvm/IR/GVMaterializer.h
llvm/include/llvm/IR/Metadata.h
llvm/include/llvm/Linker/IRMover.h
llvm/include/llvm/Linker/Linker.h
llvm/include/llvm/Transforms/Utils/ValueMapper.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Metadata.cpp
llvm/lib/Linker/IRMover.cpp
llvm/lib/Linker/LinkModules.cpp
llvm/lib/Transforms/Utils/ValueMapper.cpp
llvm/unittests/IR/MetadataTest.cpp