diff --git a/.cspell.json b/.cspell.json index bbb737c18f..4537d62659 100644 --- a/.cspell.json +++ b/.cspell.json @@ -48,6 +48,9 @@ "tblgen", "tosa", "unranked", + "irdl", + "IRDL", + "DLTI", "vulkan" ] } diff --git a/melior/src/dialect/ods.rs b/melior/src/dialect/ods.rs index f67f2858ca..6c9ab91cbe 100644 --- a/melior/src/dialect/ods.rs +++ b/melior/src/dialect/ods.rs @@ -31,6 +31,10 @@ melior_macro::dialect! { name: "async", table_gen: r#"include "mlir/Dialect/Async/IR/AsyncOps.td""# } +melior_macro::dialect! { + name: "amx", + table_gen: r#"include "mlir/Dialect/AMX/AMX.td""# +} melior_macro::dialect! { name: "builtin", table_gen: r#"include "mlir/IR/BuiltinOps.td""# @@ -39,10 +43,18 @@ melior_macro::dialect! { name: "bufferization", table_gen: r#"include "mlir/Dialect/Bufferization/IR/BufferizationOps.td""# } +melior_macro::dialect! { + name: "complex", + table_gen: r#"include "mlir/Dialect/Complex/IR/ComplexBase.td" include "mlir/Dialect/Complex/IR/ComplexOps.td""# +} melior_macro::dialect! { name: "cf", table_gen: r#"include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.td""# } +melior_macro::dialect! { + name: "dlti", + table_gen: r#"include "mlir/Dialect/DLTI/DLTI.td""# +} melior_macro::dialect! { name: "func", table_gen: r#"include "mlir/Dialect/Func/IR/FuncOps.td""# @@ -51,6 +63,10 @@ melior_macro::dialect! { name: "index", table_gen: r#"include "mlir/Dialect/Index/IR/IndexOps.td""# } +melior_macro::dialect! { + name: "irdl", + table_gen: r#"include "mlir/Dialect/IRDL/IR/IRDL.td""# +} melior_macro::dialect! { name: "llvm", // spell-checker: disable-next-line @@ -112,6 +128,10 @@ melior_macro::dialect! { name: "vector", table_gen: r#"include "mlir/Dialect/Vector/IR/VectorOps.td""# } +melior_macro::dialect! { + name: "x86vector", + table_gen: r#"include "mlir/Dialect/X86Vector/X86Vector.td""# +} #[cfg(test)] mod tests { @@ -238,7 +258,7 @@ mod tests { block.append_operation( llvm::AllocaOperation::builder(&context, location) .array_size(alloca_size) - .elem_type(TypeAttribute::new(integer_type.into())) + .elem_type(TypeAttribute::new(integer_type)) .res(dialect::llvm::r#type::pointer(&context, 0)) .build() .into(),