aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-01-16 21:38:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-01-16 21:38:56 +0000
commit5db391c67d0922f4ab2ba57c07def19759c801a4 (patch)
treec6ccfc058d52546a49b612627a9e48f2aac332d4 /docs
parentd3c965d6251e6d939f7797f8704d4e3a82f7e274 (diff)
[IR] Add 'Append' and 'AppendUnique' module flag behaviors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172659 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index 7d9fe41744..23ebad64a3 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -2508,6 +2508,16 @@ The following behaviors are supported:
other module. If both modules specify **Override**, but the values
differ, an error will be emitted.
+ * - 5
+ - **Append**
+ Appends the two values, which are required to be metadata nodes.
+
+ * - 6
+ - **AppendUnique**
+ Appends the two values, which are required to be metadata
+ nodes. However, duplicate entries in the second list are dropped
+ during the append operation.
+
It is an error for a particular unique flag ID to have multiple behaviors,
except in the case of **Require** (which adds restrictions on another metadata
value) or **Override**.