[flang-commits] [flang] [Flang] And and All elemental lowering (PR	#75776)
    via flang-commits 
    flang-commits at lists.llvm.org
       
    Mon Dec 18 01:22:59 PST 2023
    
    
  
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 9bb47f7f8bcc17d90763d201f383d28489b9b071 68f6da3821e2825f90510167b5f705dcdb54e45a -- flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp b/flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
index a41796d256..8602f5bd5d 100644
--- a/flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
+++ b/flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
@@ -705,7 +705,8 @@ static mlir::Value generateReductionLoop(fir::FirOpBuilder &builder,
 ///   %e = hlfir.elemental %shape unordered
 ///   %r = hlfir.count %e
 /// =>
-///   %r = for.do_loop %arg = 1 to bound(%shape) step 1 iter_args(%arg2 = init) {
+///   %r = for.do_loop %arg = 1 to bound(%shape) step 1 iter_args(%arg2 = init)
+///   {
 ///     <inline elemental>
 ///     <reduce count>
 ///   }
``````````
</details>
https://github.com/llvm/llvm-project/pull/75776
    
    
More information about the flang-commits
mailing list