[flang-commits] [flang] [flang][nfc] fix typo in fir.declare_value description (PR #182505)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 20 06:36:42 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-flang-fir-hlfir
Author: None (jeanPerier)
<details>
<summary>Changes</summary>
Fix typo from https://github.com/llvm/llvm-project/pull/181848#discussion_r2832803471
Thanks for the review of the previous PR @<!-- -->abidh.
---
Full diff: https://github.com/llvm/llvm-project/pull/182505.diff
1 Files Affected:
- (modified) flang/include/flang/Optimizer/Dialect/FIROps.td (+1-1)
``````````diff
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.
}];
``````````
</details>
https://github.com/llvm/llvm-project/pull/182505
More information about the flang-commits
mailing list