[mlir][Bazel] Adjust BUILD.bazel file for b43c50490c

This commit is contained in:
Adrian Kuegel 2024-01-09 07:45:18 +00:00
parent 7b45c54967
commit 3d688d4e3d

View File

@ -3957,7 +3957,7 @@ cc_library(
":ArithDialect",
":AsyncDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":FuncDialect",
":FuncToLLVM",
":FuncTransforms",
@ -4447,6 +4447,7 @@ cc_library(
":CommonFolders",
":ControlFlowInterfaces",
":ControlFlowOpsIncGen",
":ConvertToLLVMInterface",
":IR",
":SideEffectInterfaces",
":Support",
@ -4493,6 +4494,7 @@ cc_library(
":CommonFolders",
":ControlFlowDialect",
":ControlFlowInterfaces",
":ConvertToLLVMInterface",
":FuncIncGen",
":FunctionInterfaces",
":IR",
@ -5811,6 +5813,7 @@ cc_library(
":ControlFlowToLLVM",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":FuncToLLVM",
":GPUDialect",
":GPUTransforms",
@ -6049,7 +6052,7 @@ cc_library(
includes = ["include"],
deps = [
":BasicPtxBuilderInterface",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":DialectUtils",
":GPUDialect",
":IR",
@ -6269,7 +6272,7 @@ cc_library(
includes = ["include"],
deps = [
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":FuncDialect",
":GPUDialect",
":IR",
@ -7802,13 +7805,26 @@ cc_library(
],
)
cc_library(
name = "ConvertToLLVMInterface",
srcs = ["lib/Conversion/ConvertToLLVM/ToLLVMInterface.cpp"],
hdrs = ["include/mlir/Conversion/ConvertToLLVM/ToLLVMInterface.h"],
includes = ["include"],
deps = [
":IR",
":Support",
"//llvm:Support",
],
)
cc_library(
name = "ConvertToLLVM",
srcs = glob(["lib/Conversion/ConvertToLLVM/*.cpp"]),
hdrs = glob(["include/mlir/Conversion/ConvertToLLVM/*.h"]),
srcs = ["lib/Conversion/ConvertToLLVM/ConvertToLLVMPass.cpp"],
hdrs = ["include/mlir/Conversion/ConvertToLLVM/ToLLVMPass.h"],
includes = ["include"],
deps = [
":ConversionPassIncGen",
":ConvertToLLVMInterface",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
@ -7835,7 +7851,7 @@ cc_library(
":ArithToLLVM",
":ControlFlowToLLVM",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":DataLayoutInterfaces",
":DialectUtils",
":FuncDialect",
@ -7894,7 +7910,7 @@ cc_library(
":ArithToLLVM",
":ControlFlowDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":DataLayoutInterfaces",
":DialectUtils",
":IR",
@ -7941,7 +7957,7 @@ cc_library(
":Analysis",
":ArithDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":DataLayoutInterfaces",
":FuncDialect",
":IR",
@ -8005,7 +8021,7 @@ cc_library(
":AMDGPUDialect",
":ArithDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":IR",
":LLVMDialect",
":Pass",
@ -8025,7 +8041,7 @@ cc_library(
":ArithAttrToLLVMConversion",
":ArithDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
@ -8064,7 +8080,7 @@ cc_library(
":Analysis",
":ArithAttrToLLVMConversion",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":DataLayoutInterfaces",
":IR",
":LLVMCommonConversion",
@ -10159,7 +10175,7 @@ cc_library(
deps = [
":Analysis",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":IR",
":IndexDialect",
":LLVMCommonConversion",
@ -10204,6 +10220,7 @@ cc_library(
includes = ["include"],
deps = [
":CastInterfaces",
":ConvertToLLVMInterface",
":IR",
":IndexEnumsIncGen",
":IndexOpsIncGen",
@ -11660,7 +11677,7 @@ cc_library(
":CallOpInterfaces",
":CastInterfaces",
":ControlFlowInterfaces",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":FunctionInterfaces",
":IR",
":LLVMCommonConversion",
@ -11921,6 +11938,7 @@ cc_library(
":ComplexAttributesIncGen",
":ComplexBaseIncGen",
":ComplexOpsIncGen",
":ConvertToLLVMInterface",
":IR",
":InferTypeOpInterface",
":SideEffectInterfaces",
@ -11943,7 +11961,7 @@ cc_library(
":ArithDialect",
":ComplexDialect",
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":FuncDialect",
":IR",
":LLVMCommonConversion",
@ -12184,6 +12202,7 @@ cc_library(
":ArithOpsInterfacesIncGen",
":CastInterfaces",
":CommonFolders",
":ConvertToLLVMInterface",
":IR",
":InferIntRangeCommon",
":InferIntRangeInterface",
@ -12346,6 +12365,7 @@ cc_library(
deps = [
":ArithDialect",
":CommonFolders",
":ConvertToLLVMInterface",
":IR",
":InferTypeOpInterface",
":MathBaseIncGen",
@ -12491,6 +12511,7 @@ cc_library(
":CastInterfaces",
":ComplexDialect",
":ControlFlowInterfaces",
":ConvertToLLVMInterface",
":CopyOpInterface",
":DialectUtils",
":IR",
@ -13398,6 +13419,7 @@ cc_library(
hdrs = ["include/mlir/Dialect/UB/IR/UBOps.h"],
includes = ["include"],
deps = [
":ConvertToLLVMInterface",
":IR",
":SideEffectInterfaces",
":UBOpsIncGen",
@ -13418,7 +13440,7 @@ cc_library(
includes = ["include"],
deps = [
":ConversionPassIncGen",
":ConvertToLLVM",
":ConvertToLLVMInterface",
":IR",
":LLVMCommonConversion",
":LLVMDialect",