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

Commit

Permalink
Integrate LLVM at llvm/llvm-project@cd442157cff4 (#176)
Browse files Browse the repository at this point in the history
Update BUILD files and submodule for
[cd442157cff4](llvm/llvm-project@cd442157cff4)
  • Loading branch information
not-jenni authored Mar 19, 2021
1 parent 5ca9106 commit 013b829
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 5 deletions.
53 changes: 49 additions & 4 deletions llvm-bazel/llvm-project-overlay/mlir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,13 @@ td_library(
deps = [":OpBaseTdFiles"],
)

td_library(
name = "ReducerTdFiles",
srcs = ["include/mlir/Reducer/Passes.td"],
includes = ["include"],
deps = [":OpBaseTdFiles"],
)

##---------------------------------------------------------------------------##
# Affine dialect.
##---------------------------------------------------------------------------##
Expand Down Expand Up @@ -1964,9 +1971,7 @@ cc_library(
"lib/Dialect/GPU/IR/*.h",
],
),
hdrs = glob([
"include/mlir/Dialect/GPU/GPUDialect.h",
]),
hdrs = ["include/mlir/Dialect/GPU/GPUDialect.h"],
includes = ["include"],
deps = [
":GPUBaseIncGen",
Expand Down Expand Up @@ -2228,7 +2233,6 @@ cc_library(
cc_library(
name = "GPUToGPURuntimeTransforms",
srcs = [
"lib/Conversion/GPUCommon/ConvertKernelFuncToBlob.cpp",
"lib/Conversion/GPUCommon/ConvertLaunchFuncToRuntimeCalls.cpp",
"lib/Conversion/PassDetail.h",
],
Expand All @@ -2246,6 +2250,7 @@ cc_library(
":Pass",
":StandardToLLVM",
":Support",
":VectorToLLVM",
"//llvm:Support",
],
)
Expand Down Expand Up @@ -5304,6 +5309,7 @@ cc_library(
":IR",
":LinalgOps",
":MathDialect",
":MemRefDialect",
":Pass",
":StandardOps",
":TosaDialect",
Expand Down Expand Up @@ -5699,3 +5705,42 @@ cc_library(
"//llvm:Support",
],
)

gentbl(
name = "ReducerIncGen",
strip_include_prefix = "include",
tbl_outs = [
(
"-gen-pass-decls",
"include/mlir/Reducer/Passes.h.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Reducer/Passes.td",
deps = [
":PassBaseTdFiles",
":ReducerTdFiles",
],
)

cc_binary(
name = "mlir-reduce",
srcs = glob([
"include/mlir/Reducer/*.h",
"include/mlir/Reducer/Passes/*.h",
"tools/mlir-reduce/*.cpp",
"tools/mlir-reduce/Passes/*.cpp",
]) + ["lib/Reducer/Tester.cpp"],
includes = ["include"],
stamp = 0,
deps = [
":AllPassesAndDialectsNoRegistration",
":IR",
":Parser",
":Pass",
":ReducerIncGen",
":Support",
":Transforms",
"//llvm:Support",
],
)
2 changes: 1 addition & 1 deletion third_party/llvm-project
Submodule llvm-project updated 1045 files

0 comments on commit 013b829

Please sign in to comment.