From: Steven Wu Date: Tue, 15 Aug 2017 16:16:33 +0000 (+0000) Subject: [Doc] Update LangRef for new Module Flag Behavior X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cf654979b35f3a0180d5cc19e7f27ad3a79aaf1;p=llvm [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 --- 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**.