[llvm] r310926 - [Doc] Update LangRef for new Module Flag Behavior
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 15 09:16:33 PDT 2017
Author: steven_wu
Date: Tue Aug 15 09:16:33 2017
New Revision: 310926
URL: http://llvm.org/viewvc/llvm-project?rev=310926&view=rev
Log:
[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
Modified:
llvm/trunk/docs/LangRef.rst
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=310926&r1=310925&r2=310926&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Tue Aug 15 09:16:33 2017
@@ -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**.
More information about the llvm-commits
mailing list