diff --git a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/mlir/BUILD.bazel @@ -1657,6 +1657,38 @@ ], ) +##---------------------------------------------------------------------------## +# ArmSME dialect. +##---------------------------------------------------------------------------## + +gentbl_cc_library( + name = "ArmSMETransformsPassIncGen", + strip_include_prefix = "include", + tbl_outs = [( + [ + "-gen-pass-decls", + "-name=ArmSME", + ], + "include/mlir/Dialect/ArmSME/Transforms/Passes.h.inc", + )], + tblgen = ":mlir-tblgen", + td_file = "include/mlir/Dialect/ArmSME/Transforms/Passes.td", + deps = [":PassBaseTdFiles"], +) + +cc_library( + name = "ArmSMETransforms", + srcs = glob(["lib/Dialect/ArmSME/Transforms/*.cpp"]), + hdrs = glob(["include/mlir/Dialect/ArmSME/Transforms/*.h"]), + includes = ["include"], + deps = [ + ":ArmSMETransformsPassIncGen", + ":FuncDialect", + ":FuncIncGen", + ":Pass", + ], +) + ##---------------------------------------------------------------------------## # ArmSVE dialect. ##---------------------------------------------------------------------------## @@ -7417,6 +7449,7 @@ ":ArithTransforms", ":ArithValueBoundsOpInterfaceImpl", ":ArmNeonDialect", + ":ArmSMETransforms", ":ArmSVEDialect", ":ArmSVETransforms", ":AsyncDialect",