[flang-commits] [flang] [DRAFT][flang] Initial change from Alexey to turn off FMF (PR #170505)
via flang-commits
flang-commits at lists.llvm.org
Wed Dec 3 08:32:40 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 origin/main HEAD --extensions cpp -- flang/lib/Lower/ConvertExprToHLFIR.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Lower/ConvertExprToHLFIR.cpp b/flang/lib/Lower/ConvertExprToHLFIR.cpp
index 47ba5b543..e6681be51 100644
--- a/flang/lib/Lower/ConvertExprToHLFIR.cpp
+++ b/flang/lib/Lower/ConvertExprToHLFIR.cpp
@@ -1689,8 +1689,8 @@ private:
BinaryOp<D> binaryOp;
auto left = hlfir::loadTrivialScalar(loc, builder, gen(op.left()));
auto right = hlfir::loadTrivialScalar(loc, builder, gen(op.right()));
- mlir::Value exprl = left;
- mlir::Value exprr = right;
+ mlir::Value exprl = left;
+ mlir::Value exprr = right;
bool noReassoc = exprl.getDefiningOp<hlfir::NoReassocOp>() ||
exprr.getDefiningOp<hlfir::NoReassocOp>();
``````````
</details>
https://github.com/llvm/llvm-project/pull/170505
More information about the flang-commits
mailing list