[Mlir-commits] [flang] [mlir] [mlir][LLVMIR] Decouple ModuleTranslation from the OpenMP dialect (PR #236777)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Oct 29 06:34:19 PDT 2026
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 origin/main HEAD --extensions h,cpp -- flang/include/flang/Optimizer/Support/InitFIR.h mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp mlir/lib/Target/LLVMIR/ModuleTranslation.cpp mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPCommon.cpp --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</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 c52a27954..92155701c 100644
--- a/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+++ b/mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
@@ -502,7 +502,6 @@ public:
return storeLinearVars(builder, moduleTranslation);
}
};
-
} // namespace
/// Looks up from the operation from and returns the PrivateClauseOp with
``````````
</details>
https://github.com/llvm/llvm-project/pull/236777
More information about the Mlir-commits
mailing list