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)
commit28184c10c9a46611fcdf615d93509c864f13dfaf
treed06593535a83c1acfa8b777abf2fdd4bc0db5067
parent5512415ade957213b7c3096046f3a8d1cf2c27e1
IR: Make temporary nodes distinct

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225646 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Metadata.h
unittests/IR/MetadataTest.cpp