projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27e608
)
Include isFunctionLocal while calculating folding node set provide for a MDNode.
author
Devang Patel
<dpatel@apple.com>
Thu, 25 Mar 2010 05:36:13 +0000
(
05:36
+0000)
committer
Devang Patel
<dpatel@apple.com>
Thu, 25 Mar 2010 05:36:13 +0000
(
05:36
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99484
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Metadata.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Metadata.cpp
b/lib/VMCore/Metadata.cpp
index 06d4fd4ae5c6db32dd6cb84cadd2555f15a5d3e7..a6e202838989e8238a38bc215600ba51e80fc018 100644
(file)
--- a/
lib/VMCore/Metadata.cpp
+++ b/
lib/VMCore/Metadata.cpp
@@
-248,6
+248,7
@@
Value *MDNode::getOperand(unsigned i) const {
void MDNode::Profile(FoldingSetNodeID &ID) const {
for (unsigned i = 0, e = getNumOperands(); i != e; ++i)
ID.AddPointer(getOperand(i));
+ ID.AddBoolean(isFunctionLocal());
}
void MDNode::setIsNotUniqued() {