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

Commit 59a92fc

Browse files
authored
Update BUILD files and submodule for [8456c3a78928](llvm/llvm-project@8456c3a78928)
1 parent 5144c33 commit 59a92fc

2 files changed

Lines changed: 108 additions & 3 deletions

File tree

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

Lines changed: 107 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,13 @@ filegroup(
303303
],
304304
)
305305

306+
filegroup(
307+
name = "VectorInterfacesTdFiles",
308+
srcs = [
309+
"include/mlir/Interfaces/VectorInterfaces.td",
310+
],
311+
)
312+
306313
##---------------------------------------------------------------------------##
307314
# Affine dialect.
308315
##---------------------------------------------------------------------------##
@@ -1036,10 +1043,10 @@ filegroup(
10361043
"include/mlir/IR/SymbolInterfaces.td",
10371044
"include/mlir/Interfaces/CallInterfaces.td",
10381045
"include/mlir/Interfaces/ControlFlowInterfaces.td",
1039-
"include/mlir/Interfaces/VectorInterfaces.td",
10401046
"include/mlir/Interfaces/ViewLikeInterface.td",
10411047
":OpBaseTdFiles",
10421048
":SideEffectTdFiles",
1049+
":VectorInterfacesTdFiles",
10431050
],
10441051
)
10451052

@@ -1269,6 +1276,7 @@ cc_library(
12691276
":AffineToStandard",
12701277
":ArmNeonToLLVM",
12711278
":AsyncToLLVM",
1279+
":ComplexToLLVM",
12721280
":ConversionPassIncGen",
12731281
":GPUToGPURuntimeTransforms",
12741282
":GPUToNVVMTransforms",
@@ -3983,6 +3991,8 @@ cc_library(
39833991
":AsyncPassIncGen",
39843992
":AsyncToLLVM",
39853993
":AsyncTransforms",
3994+
":ComplexDialect",
3995+
":ComplexToLLVM",
39863996
":ConversionPasses",
39873997
":GPUDialect",
39883998
":GPUPassIncGen",
@@ -4945,6 +4955,7 @@ cc_library(
49454955
deps = [
49464956
":Affine",
49474957
":AffineToStandard",
4958+
":AffineUtils",
49484959
":Analysis",
49494960
":DialectUtils",
49504961
":EDSC",
@@ -4976,10 +4987,10 @@ filegroup(
49764987
name = "VectorOpsTdFiles",
49774988
srcs = [
49784989
"include/mlir/Dialect/Vector/VectorOps.td",
4979-
"include/mlir/Interfaces/VectorInterfaces.td",
49804990
"include/mlir/Interfaces/ViewLikeInterface.td",
49814991
":AffineOpsTdFiles",
49824992
":OpBaseTdFiles",
4993+
":VectorInterfacesTdFiles",
49834994
],
49844995
)
49854996

@@ -5216,6 +5227,100 @@ cc_library(
52165227
],
52175228
)
52185229

5230+
filegroup(
5231+
name = "ComplexOpsTdFiles",
5232+
srcs = [
5233+
"include/mlir/Dialect/Complex/IR/ComplexBase.td",
5234+
"include/mlir/Dialect/Complex/IR/ComplexOps.td",
5235+
":OpBaseTdFiles",
5236+
":SideEffectTdFiles",
5237+
":VectorInterfacesTdFiles",
5238+
],
5239+
)
5240+
5241+
gentbl(
5242+
name = "ComplexBaseIncGen",
5243+
strip_include_prefix = "include",
5244+
tbl_outs = [
5245+
(
5246+
"-gen-dialect-decls -dialect=complex",
5247+
"include/mlir/Dialect/Complex/IR/ComplexOpsDialect.h.inc",
5248+
),
5249+
],
5250+
tblgen = ":mlir-tblgen",
5251+
td_file = "include/mlir/Dialect/Complex/IR/ComplexBase.td",
5252+
td_srcs = [
5253+
":ComplexOpsTdFiles",
5254+
],
5255+
)
5256+
5257+
gentbl(
5258+
name = "ComplexOpsIncGen",
5259+
strip_include_prefix = "include",
5260+
tbl_outs = [
5261+
(
5262+
"-gen-op-decls",
5263+
"include/mlir/Dialect/Complex/IR/ComplexOps.h.inc",
5264+
),
5265+
(
5266+
"-gen-op-defs",
5267+
"include/mlir/Dialect/Complex/IR/ComplexOps.cpp.inc",
5268+
),
5269+
],
5270+
tblgen = ":mlir-tblgen",
5271+
td_file = "include/mlir/Dialect/Complex/IR/ComplexOps.td",
5272+
td_srcs = [
5273+
":ComplexOpsTdFiles",
5274+
],
5275+
)
5276+
5277+
cc_library(
5278+
name = "ComplexDialect",
5279+
srcs = glob(
5280+
[
5281+
"lib/Dialect/Complex/IR/*.cpp",
5282+
"lib/Dialect/Complex/IR/*.h",
5283+
],
5284+
),
5285+
hdrs = [
5286+
"include/mlir/Dialect/Complex/IR/Complex.h",
5287+
],
5288+
includes = ["include"],
5289+
deps = [
5290+
":ComplexBaseIncGen",
5291+
":ComplexOpsIncGen",
5292+
":IR",
5293+
":SideEffectInterfaces",
5294+
":Support",
5295+
":VectorInterfaces",
5296+
"//llvm:Support",
5297+
],
5298+
)
5299+
5300+
cc_library(
5301+
name = "ComplexToLLVM",
5302+
srcs = glob([
5303+
"lib/Conversion/ComplexToLLVM/*.cpp",
5304+
"lib/Conversion/ComplexToLLVM/*.h",
5305+
]) + ["lib/Conversion/PassDetail.h"],
5306+
hdrs = glob([
5307+
"include/mlir/Conversion/ComplexToLLVM/*.h",
5308+
]),
5309+
includes = ["include"],
5310+
deps = [
5311+
":ComplexDialect",
5312+
":ConversionPassIncGen",
5313+
":IR",
5314+
":LLVMDialect",
5315+
":Pass",
5316+
":StandardToLLVM",
5317+
":Support",
5318+
":Transforms",
5319+
"//llvm:Core",
5320+
"//llvm:Support",
5321+
],
5322+
)
5323+
52195324
exports_files(
52205325
[
52215326
"include/mlir/Bindings/Python/Attributes.td",

‎third_party/llvm-project‎

Submodule llvm-project updated 426 files

0 commit comments

Comments
 (0)