summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-19 22:41:14 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-01-19 22:41:14 +0000
commit9fa10658ce40b95f0f1b9beaf18fbe61998da6f8 (patch)
tree649a3fce3f7e940857ca65d574a2f0087640ce45
parent20bc37c7db4ead75170d7e70145ea126a92f4a01 (diff)
downloadbcm5719-llvm-9fa10658ce40b95f0f1b9beaf18fbe61998da6f8.tar.gz
bcm5719-llvm-9fa10658ce40b95f0f1b9beaf18fbe61998da6f8.zip
Skip upcast, NFC
llvm-svn: 226514
-rw-r--r--llvm/lib/Transforms/Utils/ValueMapper.cpp2
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.
OpenPOWER on IntegriCloud