IR: Make temporary nodes distinct
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 18:41:26 +0000 (18:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 18:41:26 +0000 (18:41 +0000)
commitd1474eea718ff867420a6e39d9c1065447d5e812
tree47d7ceacc9dbdbb55af788f37f75da1c32cf299f
parent1e51e238ed4d5edd98a942b2ea7ac383974225e4
IR: Make temporary nodes distinct

Change the return of `MDNode::isDistinct()` for `MDNode::getTemporary()`
to `true`.  They aren't uniqued.

llvm-svn: 225646
llvm/include/llvm/IR/Metadata.h
llvm/unittests/IR/MetadataTest.cpp