CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
52 lines
2.7 KiB
MLIR
52 lines
2.7 KiB
MLIR
// RUN: mlir-opt -view-op-graph -allow-unregistered-dialect %s -o %t 2>&1 | FileCheck -check-prefix=DFG %s
|
|
|
|
// DFG-LABEL: digraph G {
|
|
// DFG-NEXT: compound = true;
|
|
// DFG-NEXT: subgraph cluster_1 {
|
|
// DFG-NEXT: v2 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "builtin.module : ()\l";
|
|
// DFG-NEXT: subgraph cluster_3 {
|
|
// DFG-NEXT: v4 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "";
|
|
// DFG-NEXT: subgraph cluster_5 {
|
|
// DFG-NEXT: v6 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "test.graph_region : ()\l";
|
|
// DFG-NEXT: subgraph cluster_7 {
|
|
// DFG-NEXT: v8 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "";
|
|
// DFG-NEXT: v9 [fillcolor = "0.000000 0.3 0.95", label = "{{\{\{}}<arg_0> %0|<arg_2> %2}|op1\l|{<res_0> %0 i32}}", shape = Mrecord, style = filled];
|
|
// DFG-NEXT: subgraph cluster_10 {
|
|
// DFG-NEXT: v11 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "test.ssacfg_region : (i32)\l";
|
|
// DFG-NEXT: subgraph cluster_12 {
|
|
// DFG-NEXT: v13 [label = " ", shape = plain];
|
|
// DFG-NEXT: label = "";
|
|
// DFG-NEXT: v14 [fillcolor = "0.166667 0.3 0.95", label = "{{\{\{}}<arg_0> %0|<arg_1> %1|<arg_2> %2|<arg_3> %3}|op2\l|{<res_4> %4 i32}}", shape = Mrecord, style = filled];
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: v15 [fillcolor = "0.166667 0.3 0.95", label = "{{\{\{}}<arg_0> %0|<arg_3> %3}|op2\l|{<res_2> %2 i32}}", shape = Mrecord, style = filled];
|
|
// DFG-NEXT: v16 [fillcolor = "0.500000 0.3 0.95", label = "{{\{\{}}<arg_0> %0}|op3\l|{<res_3> %3 i32}}", shape = Mrecord, style = filled];
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: }
|
|
// DFG-NEXT: v9:res_0:s -> v9:arg_0:n[style = solid];
|
|
// DFG-NEXT: v15:res_2:s -> v9:arg_2:n[style = solid];
|
|
// DFG-NEXT: v9:res_0:s -> v14:arg_0:n[style = solid];
|
|
// DFG-NEXT: v11 -> v14:arg_1:n[ltail = cluster_10, style = solid];
|
|
// DFG-NEXT: v15:res_2:s -> v14:arg_2:n[style = solid];
|
|
// DFG-NEXT: v16:res_3:s -> v14:arg_3:n[style = solid];
|
|
// DFG-NEXT: v9:res_0:s -> v15:arg_0:n[style = solid];
|
|
// DFG-NEXT: v16:res_3:s -> v15:arg_3:n[style = solid];
|
|
// DFG-NEXT: v9:res_0:s -> v16:arg_0:n[style = solid];
|
|
// DFG-NEXT: }
|
|
|
|
"test.graph_region"() ({ // A Graph region
|
|
%1 = "op1"(%1, %3) : (i32, i32) -> (i32) // OK: %1, %3 allowed here
|
|
%2 = "test.ssacfg_region"() ({
|
|
%5 = "op2"(%1, %2, %3, %4) : (i32, i32, i32, i32) -> (i32) // OK: %1, %2, %3, %4 all defined in the containing region
|
|
}) : () -> (i32)
|
|
%3 = "op2"(%1, %4) : (i32, i32) -> (i32) // OK: %4 allowed here
|
|
%4 = "op3"(%1) : (i32) -> (i32)
|
|
}) : () -> ()
|