Skip to content

Commit

Permalink
[bazel] Port 8d6d4f8
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k committed Oct 4, 2023
1 parent 66c1916 commit 6cbf6f5
Showing 1 changed file with 45 additions and 14 deletions.
59 changes: 45 additions & 14 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1887,21 +1887,16 @@ gentbl_cc_library(
)

gentbl_cc_library(
name = "ArmSMEConversionIncGen",
name = "ArmSMEOpsIncGen",
tbl_outs = [
(
["-gen-llvmir-conversions"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEConversions.inc",
["-gen-op-decls"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEOps.h.inc",
),
(
["-gen-op-defs"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEOps.cpp.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
deps = [":ArmSMETdFiles"],
)

gentbl_cc_library(
name = "ArmSMEAttrDefsIncGen",
tbl_outs = [
(
["-gen-enum-decls"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEEnums.h.inc",
Expand All @@ -1926,7 +1921,41 @@ gentbl_cc_library(
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/ArmSME/IR/ArmSME.td",
td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td",
deps = [":ArmSMETdFiles"],
)

gentbl_cc_library(
name = "ArmSMEConversionIncGen",
tbl_outs = [
(
["-gen-llvmir-conversions"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEOpsConversions.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEOps.td",
deps = [":ArmSMETdFiles"],
)

gentbl_cc_library(
name = "ArmSMEIntrinsicOpsIncGen",
tbl_outs = [
(
["-gen-op-decls"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.h.inc",
),
(
["-gen-op-defs"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.cpp.inc",
),
(
["-gen-llvmir-conversions"],
"include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicConversions.inc",
),
],
tblgen = ":mlir-tblgen",
td_file = "include/mlir/Dialect/ArmSME/IR/ArmSMEIntrinsicOps.td",
deps = [":ArmSMETdFiles"],
)

Expand All @@ -1937,7 +1966,8 @@ cc_library(
includes = ["include"],
deps = [
":ArmSMEIncGen",
":ArmSMEAttrDefsIncGen",
":ArmSMEIntrinsicOpsIncGen",
":ArmSMEOpsIncGen",
":IR",
":LLVMDialect",
":MemRefDialect",
Expand Down Expand Up @@ -7923,6 +7953,7 @@ cc_library(
deps = [
":ArmSMEConversionIncGen",
":ArmSMEDialect",
":ArmSMEIntrinsicOpsIncGen",
":IR",
":ToLLVMIRTranslation",
"//llvm:Core",
Expand Down

0 comments on commit 6cbf6f5

Please sign in to comment.