[Mlir-commits] [mlir] [MLIR][OpenMP]Add order-modifier support to Order clause (PR #93805)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu May 30 04:15:38 PDT 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 e6821dd8c8cdd0279000f9a8eb57caf7977d68db 6d2b5cab9a467eb66906c4fdf8542b6dcbd55694 -- mlir/include/mlir/Dialect/OpenMP/OpenMPClauseOperands.h mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
index 7b4abdba66..840854e8b1 100644
--- a/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+++ b/mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
@@ -1723,7 +1723,8 @@ void WsloopOp::build(OpBuilder &builder, OperationState &state,
/*reductions=*/nullptr, /*schedule_val=*/nullptr,
/*schedule_chunk_var=*/nullptr, /*schedule_modifier=*/nullptr,
/*simd_modifier=*/false, /*nowait=*/false,
- /*ordered_val=*/nullptr, /*order_val=*/nullptr,/*order_modifier=*/nullptr);
+ /*ordered_val=*/nullptr, /*order_val=*/nullptr,
+ /*order_modifier=*/nullptr);
state.addAttributes(attributes);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/93805
More information about the Mlir-commits
mailing list