]> granicus.if.org Git - llvm/commitdiff
[Doc] Update LangRef for new Module Flag Behavior
authorSteven Wu <stevenwu@apple.com>
Tue, 15 Aug 2017 16:16:33 +0000 (16:16 +0000)
committerSteven Wu <stevenwu@apple.com>
Tue, 15 Aug 2017 16:16:33 +0000 (16:16 +0000)
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

docs/LangRef.rst

index f2276905eced2f30cffeb337cf8fc8f60813af83..bfc4d90263dfd2898d8da7abec6d49ab609484bd 100644 (file)
@@ -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**.