Move the Metadata merging methods from GVN and make them public in MDNode.
authorHal Finkel <hfinkel@anl.gov>
Sat, 16 Jun 2012 20:33:37 +0000 (20:33 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sat, 16 Jun 2012 20:33:37 +0000 (20:33 +0000)
commit7b4ff9343d911a1b9c76c512787beb7a45f8270d
treeae9ea5849661621f3eea3387bfac9a9fd48a81ce
parentfc9216eb5a437719b3a53d88d79833a8abc93fee
Move the Metadata merging methods from GVN and make them public in MDNode.

There are other passes, BBVectorize specifically, that also need some of
this functionality.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158605 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/Transforms/Scalar/GVN.cpp
lib/VMCore/Metadata.cpp