[flang-commits] [flang] [flang][NFC] AliasAnalysis: Use Indirect not Unknown for LoadOp (PR #127845)
via flang-commits
flang-commits at lists.llvm.org
Fri Feb 21 09:26:29 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 8fc03e4ff1b33816364dda6986032cbbe99a9462 890125bf37b33488b82c28035ac69b9e9926c614 --extensions cpp -- flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp b/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
index 37c4f26de0..2bc79100b0 100644
--- a/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
+++ b/flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
@@ -644,10 +644,10 @@ AliasAnalysis::Source AliasAnalysis::getSource(mlir::Value v,
} else {
type = SourceKind::Indirect;
}
- // TODO: This assignment is redundant but somehow works around an
- // apparent MSVC bug reporting "undeclared identifier" at the next
- // "breakFromLoop = true;". See
- // <https://github.com/llvm/llvm-project/pull/127845#issuecomment-2669829610>.
+ // TODO: This assignment is redundant but somehow works around an
+ // apparent MSVC bug reporting "undeclared identifier" at the next
+ // "breakFromLoop = true;". See
+ // <https://github.com/llvm/llvm-project/pull/127845#issuecomment-2669829610>.
breakFromLoop = true;
} else {
// No further tracking for addresses loaded from memory for now.
``````````
</details>
https://github.com/llvm/llvm-project/pull/127845
More information about the flang-commits
mailing list