llvm-project/llvm/lib/Bitcode
Duncan P. N. Exon Smith 03a04a58ea BitcodeReader: Delay metadata parsing until reading a function body
There's hardly any functionality change here.  Instead of calling
materializeMetadata on the first call to materialize(GlobalValue*), wait
until the first one that's actually going to do something.  Noticed by
inspection; I don't have a concrete case where this makes a difference.

Added an assertion in materializeMetadata to be sure this (or a future
change) doesn't delay materializeMetadata after function-level metadata.

llvm-svn: 267345
2016-04-24 15:04:28 +00:00
..
Reader BitcodeReader: Delay metadata parsing until reading a function body 2016-04-24 15:04:28 +00:00
Writer [ThinLTO] Remove GlobalValueInfo class from index 2016-04-24 14:57:11 +00:00
CMakeLists.txt
LLVMBuild.txt