[Bazel] Update configuration to HEAD

Bazel configuration updates for
https://github.com/llvm/llvm-project/commit/75e5f0aac97d,
https://github.com/llvm/llvm-project/commit/c282d55a3857, and
https://github.com/llvm/llvm-project/commit/26e59cc19f86

Tested: `bazel test ... @llvm-project//...`

Differential Revision: https://reviews.llvm.org/D105830
This commit is contained in:
Geoffrey Martin-Noble 2021-07-12 11:24:13 -07:00
parent 97661b8634
commit 6ebbf755b6
2 changed files with 69 additions and 9 deletions

View File

@ -1169,10 +1169,10 @@ cc_library(
deps = [ deps = [
":ArmSVE", ":ArmSVE",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
":StandardToLLVM",
":TransformUtils", ":TransformUtils",
"//llvm:Core", "//llvm:Core",
"//llvm:Support", "//llvm:Support",
@ -1266,9 +1266,9 @@ cc_library(
deps = [ deps = [
":AMX", ":AMX",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":StandardOps", ":StandardOps",
":StandardToLLVM",
"//llvm:Core", "//llvm:Core",
"//llvm:Support", "//llvm:Support",
], ],
@ -1360,9 +1360,9 @@ cc_library(
includes = ["include"], includes = ["include"],
deps = [ deps = [
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":StandardOps", ":StandardOps",
":StandardToLLVM",
":X86Vector", ":X86Vector",
"//llvm:Core", "//llvm:Core",
"//llvm:Support", "//llvm:Support",
@ -1910,7 +1910,9 @@ cc_library(
":LinalgToLLVM", ":LinalgToLLVM",
":LinalgToSPIRV", ":LinalgToSPIRV",
":LinalgToStandard", ":LinalgToStandard",
":MathToLLVM",
":MathToLibm", ":MathToLibm",
":MemRefToLLVM",
":OpenACCToLLVM", ":OpenACCToLLVM",
":OpenACCToSCF", ":OpenACCToSCF",
":OpenMPToLLVM", ":OpenMPToLLVM",
@ -1946,6 +1948,7 @@ cc_library(
":Async", ":Async",
":ConversionPassIncGen", ":ConversionPassIncGen",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
@ -2764,9 +2767,9 @@ cc_library(
deps = [ deps = [
":GPUDialect", ":GPUDialect",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":StandardOps", ":StandardOps",
":StandardToLLVM",
"//llvm:Support", "//llvm:Support",
], ],
) )
@ -2809,6 +2812,7 @@ cc_library(
":LLVMDialect", ":LLVMDialect",
":MathDialect", ":MathDialect",
":MemRefDialect", ":MemRefDialect",
":MemRefToLLVM",
":NVVMDialect", ":NVVMDialect",
":Pass", ":Pass",
":StandardToLLVM", ":StandardToLLVM",
@ -2828,7 +2832,9 @@ cc_library(
deps = [ deps = [
":ConversionPassIncGen", ":ConversionPassIncGen",
":GPUDialect", ":GPUDialect",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":MemRefToLLVM",
":Pass", ":Pass",
":ROCDLDialect", ":ROCDLDialect",
":StandardOps", ":StandardOps",
@ -2891,6 +2897,7 @@ cc_library(
":GPUTransforms", ":GPUTransforms",
":LLVMCommonConversion", ":LLVMCommonConversion",
":MathDialect", ":MathDialect",
":MemRefToLLVM",
":Pass", ":Pass",
":ROCDLDialect", ":ROCDLDialect",
":StandardToLLVM", ":StandardToLLVM",
@ -2943,6 +2950,7 @@ cc_library(
":IR", ":IR",
":LLVMCommonConversion", ":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":MemRefToLLVM",
":NVVMToLLVMIRTranslation", ":NVVMToLLVMIRTranslation",
":Pass", ":Pass",
":StandardToLLVM", ":StandardToLLVM",
@ -3017,6 +3025,7 @@ cc_library(
":IR", ":IR",
":LLVMCommonConversion", ":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":MemRefToLLVM",
":Pass", ":Pass",
":SPIRVDialect", ":SPIRVDialect",
":SPIRVUtils", ":SPIRVUtils",
@ -4289,6 +4298,44 @@ cc_library(
], ],
) )
cc_library(
name = "MemRefToLLVM",
srcs = glob(["lib/Conversion/MemRefToLLVM/*.cpp"]) + ["lib/Conversion/PassDetail.h"],
hdrs = glob(["include/mlir/Conversion/MemRefToLLVM/*.h"]),
includes = ["include"],
deps = [
":Analysis",
":ConversionPassIncGen",
":DataLayoutInterfaces",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":MemRefDialect",
":Pass",
":Support",
":Transforms",
],
)
cc_library(
name = "MathToLLVM",
srcs = glob(["lib/Conversion/MathToLLVM/*.cpp"]) + ["lib/Conversion/PassDetail.h"],
hdrs = glob(["include/mlir/Conversion/MathToLLVM/*.h"]),
includes = ["include"],
deps = [
":Analysis",
":ConversionPassIncGen",
":DataLayoutInterfaces",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":MathDialect",
":Pass",
":Support",
":Transforms",
],
)
alias( alias(
name = "LLVMTransforms", name = "LLVMTransforms",
actual = "StandardToLLVM", actual = "StandardToLLVM",
@ -4888,9 +4935,11 @@ cc_library(
":LinalgToStandard", ":LinalgToStandard",
":LinalgTransforms", ":LinalgTransforms",
":MathDialect", ":MathDialect",
":MathToLLVM",
":MathToLibm", ":MathToLibm",
":MathTransforms", ":MathTransforms",
":MemRefDialect", ":MemRefDialect",
":MemRefToLLVM",
":MemRefTransforms", ":MemRefTransforms",
":NVVMDialect", ":NVVMDialect",
":OpenACCDialect", ":OpenACCDialect",
@ -5152,6 +5201,7 @@ cc_binary(
":LLVMDialect", ":LLVMDialect",
":LLVMToLLVMIRTranslation", ":LLVMToLLVMIRTranslation",
":MemRefDialect", ":MemRefDialect",
":MemRefToLLVM",
":MemRefTransforms", ":MemRefTransforms",
":MlirJitRunner", ":MlirJitRunner",
":Pass", ":Pass",
@ -5422,6 +5472,14 @@ gentbl_cc_library(
], ],
"include/mlir/Dialect/OpenMP/OpenMPOpsDialect.cpp.inc", "include/mlir/Dialect/OpenMP/OpenMPOpsDialect.cpp.inc",
), ),
(
["-gen-type-interface-decls"],
"include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.h.inc",
),
(
["-gen-type-interface-defs"],
"include/mlir/Dialect/OpenMP/OpenMPTypeInterfaces.cpp.inc",
),
( (
["-gen-op-doc"], ["-gen-op-doc"],
"g3doc/Dialects/OpenMP/OpenMPOps.md", "g3doc/Dialects/OpenMP/OpenMPOps.md",
@ -5489,11 +5547,11 @@ cc_library(
deps = [ deps = [
":ConversionPassIncGen", ":ConversionPassIncGen",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":OpenACCDialect", ":OpenACCDialect",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
":StandardToLLVM",
":Transforms", ":Transforms",
"//llvm:Core", "//llvm:Core",
"//llvm:Support", "//llvm:Support",
@ -5513,7 +5571,9 @@ cc_library(
deps = [ deps = [
":ConversionPassIncGen", ":ConversionPassIncGen",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":MemRefToLLVM",
":OpenMPDialect", ":OpenMPDialect",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
@ -5792,6 +5852,7 @@ cc_library(
":Analysis", ":Analysis",
":ConversionPassIncGen", ":ConversionPassIncGen",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":LinalgOps", ":LinalgOps",
":LinalgTransforms", ":LinalgTransforms",
@ -5799,7 +5860,6 @@ cc_library(
":SCFDialect", ":SCFDialect",
":SCFToStandard", ":SCFToStandard",
":StandardOps", ":StandardOps",
":StandardToLLVM",
":Support", ":Support",
":Transforms", ":Transforms",
":VectorToLLVM", ":VectorToLLVM",
@ -6045,11 +6105,11 @@ cc_library(
":ConversionPassIncGen", ":ConversionPassIncGen",
":DialectUtils", ":DialectUtils",
":IR", ":IR",
":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":MemRefDialect", ":MemRefDialect",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
":StandardToLLVM",
":Support", ":Support",
":ToLLVMIRTranslation", ":ToLLVMIRTranslation",
":Transforms", ":Transforms",
@ -6405,7 +6465,6 @@ cc_library(
":LLVMCommonConversion", ":LLVMCommonConversion",
":LLVMDialect", ":LLVMDialect",
":Pass", ":Pass",
":StandardToLLVM",
":Support", ":Support",
":Transforms", ":Transforms",
"//llvm:Core", "//llvm:Core",

View File

@ -316,10 +316,11 @@ cc_library(
includes = ["lib/Dialect/Test"], includes = ["lib/Dialect/Test"],
deps = [ deps = [
":TestDialect", ":TestDialect",
"//mlir:LLVMCommonConversion",
"//mlir:LLVMDialect", "//mlir:LLVMDialect",
"//mlir:LLVMTransforms",
"//mlir:Pass", "//mlir:Pass",
"//mlir:StandardOps", "//mlir:StandardOps",
"//mlir:StandardToLLVM",
], ],
) )