[flang-commits] [flang] [Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result (PR #81619)
via flang-commits
flang-commits at lists.llvm.org
Tue Feb 13 08:29:15 PST 2024
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 38c706e30f5f339bfb0bfb26fd7b5c2d5086064a a88e69894dc8c813b68c83926ce49bc967524679 -- flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp b/flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
index 1e1aa2a2de..8f36469569 100644
--- a/flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
+++ b/flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
@@ -1243,7 +1243,7 @@ void SimplifyIntrinsicsPass::simplifyMinMaxlocReduction(
};
auto bodyGenerator = [rank, maskRank, inputType, logicalElemType, outType,
isMax, isDim](fir::FirOpBuilder &builder,
- mlir::func::FuncOp &funcOp) {
+ mlir::func::FuncOp &funcOp) {
genRuntimeMinMaxlocBody(builder, funcOp, isMax, rank, maskRank, inputType,
logicalElemType, outType, isDim);
};
``````````
</details>
https://github.com/llvm/llvm-project/pull/81619
More information about the flang-commits
mailing list