[Mlir-commits] [mlir] MLIR: add flag to conditionally disable automatic dialect loading (PR #120100)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 16 08:04:44 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 d576021853fd64c10fd746389a9b263cf10c5295 ffb9d5d97778baba0fd625bb284ce49a2466b7e2 --extensions cpp,h -- mlir/include/mlir/Pass/PassManager.h mlir/lib/Pass/Pass.cpp
``````````

</details>

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

``````````diff
diff --git a/mlir/lib/Pass/Pass.cpp b/mlir/lib/Pass/Pass.cpp
index fd3798652e..7f6a56e66e 100644
--- a/mlir/lib/Pass/Pass.cpp
+++ b/mlir/lib/Pass/Pass.cpp
@@ -895,7 +895,6 @@ LogicalResult PassManager::run(Operation *op) {
   return result;
 }
 
-
 void PassManager::setAutomaticDialectLoading(bool shouldLoad) {
   loadDialects = shouldLoad;
 }

``````````

</details>


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


More information about the Mlir-commits mailing list