[llvm] r226514 - Skip upcast, NFC
Duncan P. N. Exon Smith
dexonsmith at apple.com
Mon Jan 19 14:41:14 PST 2015
Author: dexonsmith
Date: Mon Jan 19 16:41:14 2015
New Revision: 226514
URL: http://llvm.org/viewvc/llvm-project?rev=226514&view=rev
Log:
Skip upcast, NFC
Modified:
llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp
Modified: llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp?rev=226514&r1=226513&r2=226514&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/ValueMapper.cpp Mon Jan 19 16:41:14 2015
@@ -213,7 +213,7 @@ static Metadata *mapDistinctNode(const U
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.
More information about the llvm-commits
mailing list