[mlir][Bazel] Port afb0b21f24adecfa0b302c79366980453b15ba7b
authorAdrian Kuegel <akuegel@google.com>
Mon, 26 Sep 2022 07:37:32 +0000 (09:37 +0200)
committerAdrian Kuegel <akuegel@google.com>
Mon, 26 Sep 2022 07:38:22 +0000 (09:38 +0200)
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

index c400e45..7e88057 100644 (file)
@@ -2160,6 +2160,14 @@ gentbl_cc_library(
             ["-gen-op-doc"],
             "g3doc/Dialects/NVGPU/NVGPU.md",
         ),
+        (
+            ["-gen-typedef-decls"],
+            "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.h.inc",
+        ),
+        (
+            ["-gen-typedef-defs"],
+            "include/mlir/Dialect/NVGPU/IR/NVGPUTypes.cpp.inc",
+        ),
     ],
     tblgen = ":mlir-tblgen",
     td_file = "include/mlir/Dialect/NVGPU/IR/NVGPU.td",