[flang-commits] [flang] 0364a25 - [flang][nfc] fix typo in fir.declare_value description (#182505)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 20 08:14:08 PST 2026
Author: jeanPerier
Date: 2026-02-20T17:14:03+01:00
New Revision: 0364a25f4eca1aa1f8073838d6fb3189c1df7c60
URL: https://github.com/llvm/llvm-project/commit/0364a25f4eca1aa1f8073838d6fb3189c1df7c60
DIFF: https://github.com/llvm/llvm-project/commit/0364a25f4eca1aa1f8073838d6fb3189c1df7c60.diff
LOG: [flang][nfc] fix typo in fir.declare_value description (#182505)
Fix typo from
https://github.com/llvm/llvm-project/pull/181848#discussion_r2832803471
Added:
Modified:
flang/include/flang/Optimizer/Dialect/FIROps.td
Removed:
################################################################################
diff --git a/flang/include/flang/Optimizer/Dialect/FIROps.td b/flang/include/flang/Optimizer/Dialect/FIROps.td
index 142bc98c134f5..2a849a98903e6 100644
--- a/flang/include/flang/Optimizer/Dialect/FIROps.td
+++ b/flang/include/flang/Optimizer/Dialect/FIROps.td
@@ -3490,7 +3490,7 @@ def fir_DeclareValueOp
relatively to the operation using the value of the variable,
this means that the when a mem2reg variable was assigned several
values, the variable value printed in the debugger at a given code
- point main not be the actual value the variable had at that code point
+ point may not be the actual value the variable had at that code point
if instructions using the value were moved above the fir.declare_value.
}];
More information about the flang-commits
mailing list