[Mlir-commits] [mlir] [ViewOpGraph] Improve GraphViz output (PR #125509)

Fangrui Song llvmlistbot at llvm.org
Wed Feb 5 09:49:52 PST 2025


================
@@ -4,41 +4,41 @@
 //       DFG:   compound = true;
 //       DFG:   subgraph cluster_1 {
 //       DFG:     v2 [label = " ", shape = plain];
-//       DFG:     label = "builtin.module : ()\n";
+//       DFG:     label = "builtin.module : ()\l";
 //       DFG:     subgraph cluster_3 {
 //       DFG:       v4 [label = " ", shape = plain];
 //       DFG:       label = "";
 //       DFG:       subgraph cluster_5 {
 //       DFG:         v6 [label = " ", shape = plain];
-//       DFG:         label = "test.graph_region : ()\n";
+//       DFG:         label = "test.graph_region : ()\l";
----------------
MaskRay wrote:

Better to use some `-NEXT` whenever applicable. Without -NEXT, if there is a change, the FileCheck suggestion would look strange.

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


More information about the Mlir-commits mailing list