[PATCH] D106003: [Bazel] Uniformly export all MLIR td files

Geoffrey Martin-Noble via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 14 11:58:28 PDT 2021


GMNGeoffrey updated this revision to Diff 358686.
GMNGeoffrey added a comment.

- Restore export of InliningUtils.h


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106003/new/

https://reviews.llvm.org/D106003

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


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
@@ -16,7 +16,6 @@
 
 exports_files([
     "LICENSE.TXT",
-    "include/mlir/Dialect/LLVMIR/LLVMOps.td",
     "run_lit.sh",
 ])
 
@@ -25,6 +24,8 @@
     srcs = glob(["include/mlir-c/**/*"]),  # <== i.e. match the entire tree
 )
 
+exports_files(glob(["include/**/*.td"]))
+
 [
     gentbl_cc_library(
         name = name + "IncGen",
@@ -1708,6 +1709,8 @@
     ],
 )
 
+exports_files(["include/mlir/Transforms/InliningUtils.h"])
+
 cc_library(
     name = "Affine",
     srcs = glob(
@@ -6495,39 +6498,6 @@
     ],
 )
 
-exports_files([
-    "include/mlir/Bindings/Python/Attributes.td",
-    "include/mlir/Dialect/DLTI/DLTIBase.td",
-    "include/mlir/Dialect/LLVMIR/LLVMOpBase.td",
-    "include/mlir/Dialect/Linalg/IR/LinalgOps.td",
-    "include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td",
-    "include/mlir/Dialect/Shape/IR/ShapeBase.td",
-    "include/mlir/Dialect/Shape/IR/ShapeOps.td",
-    "include/mlir/Dialect/StandardOps/IR/Ops.td",
-    "include/mlir/Dialect/Vector/VectorOps.td",
-    "include/mlir/Dialect/X86Vector/X86Vector.td",
-    "include/mlir/IR/OpAsmInterface.td",
-    "include/mlir/IR/OpBase.td",
-    "include/mlir/IR/RegionKindInterface.td",
-    "include/mlir/IR/SymbolInterfaces.td",
-    "include/mlir/IR/TensorEncoding.td",
-    "include/mlir/Interfaces/CallInterfaces.h",
-    "include/mlir/Interfaces/CallInterfaces.td",
-    "include/mlir/Interfaces/CastInterfaces.h",
-    "include/mlir/Interfaces/CastInterfaces.td",
-    "include/mlir/Interfaces/ControlFlowInterfaces.h",
-    "include/mlir/Interfaces/ControlFlowInterfaces.td",
-    "include/mlir/Interfaces/CopyOpInterface.td",
-    "include/mlir/Interfaces/DataLayoutInterfaces.td",
-    "include/mlir/Interfaces/InferTypeOpInterface.td",
-    "include/mlir/Interfaces/LoopLikeInterface.td",
-    "include/mlir/Interfaces/SideEffectInterfaceBase.td",
-    "include/mlir/Interfaces/SideEffectInterfaces.td",
-    "include/mlir/Interfaces/VectorInterfaces.td",
-    "include/mlir/Interfaces/ViewLikeInterface.td",
-    "include/mlir/Transforms/InliningUtils.h",
-])
-
 td_library(
     name = "MathOpsTdFiles",
     srcs = [


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106003.358686.patch
Type: text/x-patch
Size: 2350 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210714/63b98099/attachment.bin>


More information about the llvm-commits mailing list