[flang-commits] [flang] [mlir] [flang][OpenMP] Enable delayed privatizaiton by defualt `omp.wsloop` (PR #122471)

via flang-commits flang-commits at lists.llvm.org
Mon Jan 13 06:36:06 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 b5ba4f06db2e159885fc4b6e7709274a3910b8b5 a50e46ff3e7dc404a9272e5fec4ea56135b0e6b8 --extensions cpp -- flang/lib/Lower/OpenMP/OpenMP.cpp mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
index 157a10f064..fcfd16c55c 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -1912,7 +1912,6 @@ convertOmpWsloop(Operation &opInst, llvm::IRBuilderBase &builder,
     if (dt.dominates(definingInst, allocaIP.getPoint()))
       continue;
 
-
     // If all the above conditions are violated, then we have to move the alloca
     // insertion point below the defining instruction.
 

``````````

</details>


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


More information about the flang-commits mailing list