llvm/unittests/Transforms
Duncan P. N. Exon Smith 0b11282f08 ValueMapper: Stop memoizing ConstantAsMetadata
Stop memoizing ConstantAsMetadata in ValueMapper::mapMetadata.  Now we
have to recompute it, but these metadata aren't particularly common, and
it restricts the lifetime of the Metadata map unnecessarily.

(The motivation is that I have a patch which uses a single Metadata map
for the lifetime of IRMover.  Mehdi profiled r266446 with the patch
applied and we saw a pretty big speedup in lib/Linker.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266513 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-16 03:39:44 +00:00
..
IPO LowerBitSets: Move declarations to separate namespace. 2016-04-01 18:46:50 +00:00
Utils ValueMapper: Stop memoizing ConstantAsMetadata 2016-04-16 03:39:44 +00:00
CMakeLists.txt