MapValue support for MDNodes. This is similar to r109117, except
authorDan Gohman <gohman@apple.com>
Tue, 24 Aug 2010 17:10:10 +0000 (17:10 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 24 Aug 2010 17:10:10 +0000 (17:10 +0000)
commit4ce307f96361d428bd332c2086ef42be359d9dd2
treeec32599a7144eb2b2784d1fc75ec38e148d00872
parent92b651fb199557b9e54c7263e83c34ab39eb644f
MapValue support for MDNodes. This is similar to r109117, except
that it avoids a lot of unnecessary cloning by avoiding remapping
MDNode cycles when none of the nodes in the cycle actually need to
be remapped. Also it uses the new temporary MDNode mechanism.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111922 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/ValueMapper.cpp