llvm-project/llvm/lib/Transforms
Teresa Johnson a1080ee6f0 [ThinLTO] Delay metadata materializtion in function importer
The function importer was still materializing metadata when modules were
loaded for function importing. We only want to materialize it when we
are going to invoke the metadata linking postpass. Materializing it
before function importing is not only unnecessary, but also causes
metadata referenced by imported functions to be mapped in early, and
then not connected to the rest of the module level metadata when it is
ultimately linked in.

Augmented the test case to specifically check for the metadata being
properly connected, which it wasn't before this fix.

llvm-svn: 257171
2016-01-08 14:17:41 +00:00
..
Hello Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
IPO [ThinLTO] Delay metadata materializtion in function importer 2016-01-08 14:17:41 +00:00
InstCombine InstCombineCompares.cpp: Fix a warning. [-Wbraced-scalar-init] 2016-01-08 12:50:03 +00:00
Instrumentation [PGO] Simplify coverage mapping lowering 2016-01-07 20:05:49 +00:00
ObjCARC Refactor: Simplify boolean conditional return statements in lib/Transforms/ObjCARC 2015-12-28 16:19:08 +00:00
Scalar Remove static global GCNames from Function.cpp and move it to the Context 2016-01-08 02:28:20 +00:00
Utils [LibCallSimplifier] less indenting; NFCI 2016-01-06 20:52:21 +00:00
Vectorize [LV] Avoid creating empty reduction entries (NFC) 2016-01-06 12:50:29 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile