Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 013b829

Browse files
authored
Update BUILD files and submodule for [cd442157cff4](llvm/llvm-project@cd442157cff4)
1 parent 5ca9106 commit 013b829

2 files changed

Lines changed: 50 additions & 5 deletions

File tree

‎llvm-bazel/llvm-project-overlay/mlir/BUILD‎

Lines changed: 49 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,13 @@ td_library(
441441
deps = [":OpBaseTdFiles"],
442442
)
443443

444+
td_library(
445+
name = "ReducerTdFiles",
446+
srcs = ["include/mlir/Reducer/Passes.td"],
447+
includes = ["include"],
448+
deps = [":OpBaseTdFiles"],
449+
)
450+
444451
##---------------------------------------------------------------------------##
445452
# Affine dialect.
446453
##---------------------------------------------------------------------------##
@@ -1964,9 +1971,7 @@ cc_library(
19641971
"lib/Dialect/GPU/IR/*.h",
19651972
],
19661973
),
1967-
hdrs = glob([
1968-
"include/mlir/Dialect/GPU/GPUDialect.h",
1969-
]),
1974+
hdrs = ["include/mlir/Dialect/GPU/GPUDialect.h"],
19701975
includes = ["include"],
19711976
deps = [
19721977
":GPUBaseIncGen",
@@ -2228,7 +2233,6 @@ cc_library(
22282233
cc_library(
22292234
name = "GPUToGPURuntimeTransforms",
22302235
srcs = [
2231-
"lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp",
22322236
"lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp",
22332237
"lib/Conversion/PassDetail.h",
22342238
],
@@ -2246,6 +2250,7 @@ cc_library(
22462250
":Pass",
22472251
":StandardToLLVM",
22482252
":Support",
2253+
":VectorToLLVM",
22492254
"//llvm:Support",
22502255
],
22512256
)
@@ -5304,6 +5309,7 @@ cc_library(
53045309
":IR",
53055310
":LinalgOps",
53065311
":MathDialect",
5312+
":MemRefDialect",
53075313
":Pass",
53085314
":StandardOps",
53095315
":TosaDialect",
@@ -5699,3 +5705,42 @@ cc_library(
56995705
"//llvm:Support",
57005706
],
57015707
)
5708+
5709+
gentbl(
5710+
name = "ReducerIncGen",
5711+
strip_include_prefix = "include",
5712+
tbl_outs = [
5713+
(
5714+
"-gen-pass-decls",
5715+
"include/mlir/Reducer/Passes.h.inc",
5716+
),
5717+
],
5718+
tblgen = ":mlir-tblgen",
5719+
td_file = "include/mlir/Reducer/Passes.td",
5720+
deps = [
5721+
":PassBaseTdFiles",
5722+
":ReducerTdFiles",
5723+
],
5724+
)
5725+
5726+
cc_binary(
5727+
name = "mlir-reduce",
5728+
srcs = glob([
5729+
"include/mlir/Reducer/*.h",
5730+
"include/mlir/Reducer/Passes/*.h",
5731+
"tools/mlir-reduce/*.cpp",
5732+
"tools/mlir-reduce/Passes/*.cpp",
5733+
]) + ["lib/Reducer/Tester.cpp"],
5734+
includes = ["include"],
5735+
stamp = 0,
5736+
deps = [
5737+
":AllPassesAndDialectsNoRegistration",
5738+
":IR",
5739+
":Parser",
5740+
":Pass",
5741+
":ReducerIncGen",
5742+
":Support",
5743+
":Transforms",
5744+
"//llvm:Support",
5745+
],
5746+
)

‎third_party/llvm-project‎

Submodule llvm-project updated 1045 files

0 commit comments

Comments
 (0)