From 303582b6de04e905350496edb34441155470986c Mon Sep 17 00:00:00 2001 From: Jacob Bramley Date: Tue, 13 Jun 2023 16:21:15 +0100 Subject: [PATCH] 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 --- llvm/docs/LangRef.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst index 014f249..0cc5708 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** -- 2.7.4