diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel index c8b6233a2b6b6..49694a22497b6 100644 --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -3631,21 +3631,35 @@ gentbl_cc_library( deps = [":XeGPUAttrTdFiles"], ) +gentbl_cc_library( + name = "XeGPUAttrInterfaceIncGen", + tbl_outs = { + "include/mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.h.inc": ["-gen-attr-interface-decls"], + "include/mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.cpp.inc": ["-gen-attr-interface-defs"], + }, + tblgen = ":mlir-tblgen", + td_file = "include/mlir/Dialect/XeGPU/IR/XeGPUAttrs.td", + deps = [":XeGPUAttrTdFiles"], +) + cc_library( name = "XeGPUDialect", srcs = glob(["lib/Dialect/XeGPU/IR/*.cpp"]), hdrs = glob(["include/mlir/Dialect/XeGPU/IR/*.h"]), includes = ["include"], deps = [ + ":AffineUtils", ":ArithDialect", ":ArithUtils", ":BytecodeOpInterface", ":DialectUtils", ":IR", + ":IndexDialect", ":ShapedOpInterfaces", ":SideEffectInterfaces", ":VectorDialect", ":ViewLikeInterface", + ":XeGPUAttrInterfaceIncGen", ":XeGPUEnumsIncGen", ":XeGPUIncGen", "//llvm:Support", diff --git a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel index d95a37f4851d0..27b1dbbd015b3 100644 --- a/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel @@ -1204,11 +1204,13 @@ cc_library( deps = [ "//mlir:GPUDialect", "//mlir:IR", + "//mlir:IndexDialect", "//mlir:MemRefDialect", "//mlir:Pass", "//mlir:TransformUtils", "//mlir:VectorTransforms", "//mlir:XeGPUDialect", "//mlir:XeGPUTransforms", + "//mlir:XeGPUUtils", ], )