summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-05-10 20:57:05 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-05-10 20:57:05 +0000
commitb8f9b7a965756c532cbcd1ffdac05675fe65af39 (patch)
treedf8d0d1a8f45d9acfd6ce7ff3ab7851540fe0985 /llvm/docs
parent9257b234a581024444b71382504f23671a453dbf (diff)
downloadbcm5719-llvm-b8f9b7a965756c532cbcd1ffdac05675fe65af39.tar.gz
bcm5719-llvm-b8f9b7a965756c532cbcd1ffdac05675fe65af39.zip
Make MDNode use CallbackVH. Also change MDNode to store Value* instead of
Constant* in preperation of a future change to support holding non-Constants in an MDNode. llvm-svn: 71407
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index 36eae718e35..3f16e386c2b 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -2061,6 +2061,10 @@ the two digit hex code. For example: "<tt>!"test\00"</tt>".
exclamation point). For example: "<tt>!{ { } !"test\00", i32 10}</tt>".
</p>
+<p>A metadata node will attempt to track changes to the values it holds. In
+the event that a value is deleted, it will be replaced with a typeless
+"<tt>null</tt>", such as "<tt>{ } !{null, i32 0}</tt>".</p>
+
<p>Optimizations may rely on metadata to provide additional information about
the program that isn't available in the instructions, or that isn't easily
computable. Similarly, the code generator may expect a certain metadata format
OpenPOWER on IntegriCloud