aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteven Wu <stevenwu@apple.com>2017-08-15 16:16:33 +0000
committerSteven Wu <stevenwu@apple.com>2017-08-15 16:16:33 +0000
commit8cf654979b35f3a0180d5cc19e7f27ad3a79aaf1 (patch)
tree9ffa69b2c9344d74de457fec6662909840c5ed8e /docs
parent0cca55d7f584bd5ecc7100269a853399c0908733 (diff)
downloadllvm-8cf654979b35f3a0180d5cc19e7f27ad3a79aaf1.tar.gz
[Doc] Update LangRef for new Module Flag Behavior
Summary: Add the documentation for the new module flag behavior. The new ModFlagBehavior is added in r303590. Reviewers: tejohnson Reviewed By: tejohnson Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36557 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310926 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index f2276905ece..bfc4d90263d 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -5378,6 +5378,10 @@ The following behaviors are supported:
nodes. However, duplicate entries in the second list are dropped
during the append operation.
+ * - 7
+ - **Max**
+ Takes the max of the two values, which are required to be integers.
+
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**.