[Mlir-commits] [mlir] [mlir] Handle backedges in --view-op-graph (PR #82002)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Fri Feb 16 15:27:32 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 8884ba43a8485bebef5c4d41e7ed457e3fa84f07 96abe87d71acff42c34b43b4bf86c4d849b7cb2e -- mlir/lib/Transforms/ViewOpGraph.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/mlir/lib/Transforms/ViewOpGraph.cpp b/mlir/lib/Transforms/ViewOpGraph.cpp
index 8ebd8e631b..bbd95252ee 100644
--- a/mlir/lib/Transforms/ViewOpGraph.cpp
+++ b/mlir/lib/Transforms/ViewOpGraph.cpp
@@ -281,7 +281,7 @@ private:
for (BlockArgument &blockArg : block.getArguments())
valueToNode[blockArg] = emitNodeStmt(getLabel(blockArg));
- SmallVector<Operation*> sortedOperations;
+ SmallVector<Operation *> sortedOperations;
for (Operation &op : block) {
sortedOperations.push_back(&op);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/82002
More information about the Mlir-commits
mailing list