14 lines
410 B
MLIR
14 lines
410 B
MLIR
// RUN: mlir-opt %s | mlir-opt | FileCheck %s
|
|
|
|
module {
|
|
// CHECK-LABEL: irdl.dialect @dialect {
|
|
irdl.dialect @dialect {
|
|
// CHECK-LABEL: irdl.type @type {
|
|
irdl.type @type {
|
|
%0 = irdl.c_pred "::llvm::isa<::mlir::IntegerAttr>($_self)"
|
|
// CHECK: %{{.*}} = irdl.c_pred "::llvm::isa<::mlir::IntegerAttr>($_self)"
|
|
irdl.parameters(%0)
|
|
// CHECK: irdl.parameters(%{{.*}})
|
|
}
|
|
}
|
|
}
|