1 // RUN: mlir-opt %s | mlir-opt | FileCheck %s
4 // CHECK-LABEL: irdl.dialect @testd {
6 // CHECK: irdl.type @singleton
9 // CHECK: irdl.type @parametrized {
10 // CHECK: %[[v0:[^ ]*]] = irdl.any
11 // CHECK: %[[v1:[^ ]*]] = irdl.is i32
12 // CHECK: %[[v2:[^ ]*]] = irdl.is i64
13 // CHECK: %[[v3:[^ ]*]] = irdl.any_of(%[[v1]], %[[v2]])
14 // CHECK: irdl.parameters(%[[v0]], %[[v3]])
16 irdl.type @parametrized {
20 %3 = irdl.any_of(%1, %2)
21 irdl.parameters(%0, %3)
24 // CHECK: irdl.operation @any {
25 // CHECK: %[[v0:[^ ]*]] = irdl.any
26 // CHECK: irdl.results(%[[v0]])