[PATCH] D105326: [mlir][tosa] Update Bazel files for TOSA pass changes

Rob Suderman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 1 17:29:34 PDT 2021


rsuderman created this revision.
Herald added subscribers: eric-k256, dcaballe, cota, teijeong, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
rsuderman requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added a project: LLVM.

There were some missing bazel dependens for the Tosa dialect.
Added these deps.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105326

Files:
  utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
  utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel


Index: utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel
@@ -517,6 +517,7 @@
         "//mlir:IR",
         "//mlir:Pass",
         "//mlir:StandardOps",
+        "//mlir:TensorDialect",
         "//mlir:TosaDialect",
         "//mlir:Transforms",
     ],
Index: utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
===================================================================
--- utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+++ utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
@@ -6086,6 +6086,7 @@
     name = "TosaDialectTdFiles",
     srcs = glob(["include/mlir/Dialect/Tosa/IR/*.td"]),
     deps = [
+        ":InferTypeOpInterfaceTdFiles",
         ":LoopLikeInterfaceTdFiles",
         ":OpBaseTdFiles",
         ":SideEffectInterfacesTdFiles",
@@ -6182,6 +6183,7 @@
     deps = [
         ":Dialect",
         ":IR",
+        ":InferTypeOpInterface",
         ":LoopLikeInterface",
         ":Pass",
         ":QuantOps",
@@ -6260,6 +6262,7 @@
         "lib/Conversion/TosaToStandard",
     ],
     deps = [
+        ":Analysis",
         ":ConversionPassIncGen",
         ":IR",
         ":Pass",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105326.356057.patch
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210702/789faa51/attachment.bin>


More information about the llvm-commits mailing list