[clang] [OpenMP] Codegen support for masked combined construct (PR #120520)

via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 20:47:11 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 5fc8062f5d9b0c62bdb3c817182d7275d27f7527 ca5e6f208927fc9b82c6dce34ee46dbca2d83a58 --extensions c,cpp,h -- clang/test/OpenMP/combined_masked.c clang/lib/CodeGen/CGStmt.cpp clang/lib/CodeGen/CGStmtOpenMP.cpp clang/lib/CodeGen/CodeGenFunction.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp
index 0f41e11953..5fac5f4314 100644
--- a/clang/lib/CodeGen/CGStmtOpenMP.cpp
+++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -8006,7 +8006,6 @@ void CodeGenFunction::EmitOMPMaskedTaskLoopDirective(
   CGM.getOpenMPRuntime().emitMaskedRegion(*this, CodeGen, S.getBeginLoc());
 }
 
-
 void CodeGenFunction::EmitOMPMasterTaskLoopSimdDirective(
     const OMPMasterTaskLoopSimdDirective &S) {
   auto &&CodeGen = [this, &S](CodeGenFunction &CGF, PrePostActionTy &Action) {
@@ -8031,7 +8030,6 @@ void CodeGenFunction::EmitOMPMaskedTaskLoopSimdDirective(
   CGM.getOpenMPRuntime().emitMaskedRegion(*this, CodeGen, S.getBeginLoc());
 }
 
-
 void CodeGenFunction::EmitOMPParallelMasterTaskLoopDirective(
     const OMPParallelMasterTaskLoopDirective &S) {
   auto &&CodeGen = [this, &S](CodeGenFunction &CGF, PrePostActionTy &Action) {
@@ -8068,7 +8066,6 @@ void CodeGenFunction::EmitOMPParallelMaskedTaskLoopDirective(
                                  emitEmptyBoundParameters);
 }
 
-
 void CodeGenFunction::EmitOMPParallelMasterTaskLoopSimdDirective(
     const OMPParallelMasterTaskLoopSimdDirective &S) {
   auto &&CodeGen = [this, &S](CodeGenFunction &CGF, PrePostActionTy &Action) {
@@ -8105,7 +8102,6 @@ void CodeGenFunction::EmitOMPParallelMaskedTaskLoopSimdDirective(
                                  emitEmptyBoundParameters);
 }
 
-
 // Generate the instructions for '#pragma omp target update' directive.
 void CodeGenFunction::EmitOMPTargetUpdateDirective(
     const OMPTargetUpdateDirective &S) {

``````````

</details>


https://github.com/llvm/llvm-project/pull/120520


More information about the cfe-commits mailing list