diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/ValueMapper.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/ValueMapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/ValueMapper.cpp b/llvm/lib/Transforms/Utils/ValueMapper.cpp index 4033ccbf152..89f619b66a4 100644 --- a/llvm/lib/Transforms/Utils/ValueMapper.cpp +++ b/llvm/lib/Transforms/Utils/ValueMapper.cpp @@ -213,7 +213,7 @@ static Metadata *mapDistinctNode(const UniquableMDNode *Node, assert(Node->isDistinct() && "Expected distinct node"); // Create the node first so it's available for cyclical references. - MDNode *NewMD = MDNode::replaceWithDistinct(cloneMDNode(Node)); + UniquableMDNode *NewMD = MDNode::replaceWithDistinct(cloneMDNode(Node)); mapToMetadata(VM, Node, NewMD); // Fix the operands. |