[llvm] 303582b - Update module flags documentation for Min.
Jacob Bramley via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 28 01:19:20 PDT 2023
Author: Jacob Bramley
Date: 2023-06-28T09:15:02+01:00
New Revision: 303582b6de04e905350496edb34441155470986c
URL: https://github.com/llvm/llvm-project/commit/303582b6de04e905350496edb34441155470986c
DIFF: https://github.com/llvm/llvm-project/commit/303582b6de04e905350496edb34441155470986c.diff
LOG: Update module flags documentation for Min.
This updates the documentation to match the implementation. Warning and
Min interact in the same way as Warning and Max.
Differential Revision: https://reviews.llvm.org/D153012
Added:
Modified:
llvm/docs/LangRef.rst
Removed:
################################################################################
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 014f24925f249..0cc5708cf5e09 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -7613,9 +7613,10 @@ The following behaviors are supported:
* - 2
- **Warning**
Emits a warning if two values disagree. The result value will be the
- operand for the flag from the first module being linked, or the max
- if the other module uses **Max** (in which case the resulting flag
- will be **Max**).
+ operand for the flag from the first module being linked, unless the
+ other module uses **Min** or **Max**, in which case the result will
+ be **Min** (with the min value) or **Max** (with the max value),
+ respectively.
* - 3
- **Require**
More information about the llvm-commits
mailing list