[Bazel] Fixes for b5d847b1b9 and 6412a13539

This commit is contained in:
Jordan Rupprecht 2021-07-07 16:50:23 -07:00
parent 877e835add
commit 74c308c56a
1 changed files with 23 additions and 0 deletions

View File

@ -2805,6 +2805,7 @@ cc_library(
":GPUToNVVMGen",
":GPUTransforms",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":MathDialect",
":MemRefDialect",
@ -2888,6 +2889,7 @@ cc_library(
":GPUDialect",
":GPUToROCDLTGen",
":GPUTransforms",
":LLVMCommonConversion",
":MathDialect",
":Pass",
":ROCDLDialect",
@ -3012,6 +3014,7 @@ cc_library(
":ConversionPassIncGen",
":GPUDialect",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":Pass",
":SPIRVDialect",
@ -4236,6 +4239,22 @@ alias(
actual = "SCFToStandard",
)
cc_library(
name = "LLVMCommonConversion",
srcs = glob([
"lib/Conversion/LLVMCommon/*.cpp",
]) + ["lib/Conversion/LLVMCommon/MemRefDescriptor.h"],
hdrs = glob(["include/mlir/Conversion/LLVMCommon/*.h"]),
includes = ["include"],
deps = [
":IR",
":LLVMDialect",
":Support",
":Transforms",
"//llvm:Core",
],
)
cc_library(
name = "StandardToLLVM",
srcs = [
@ -4253,6 +4272,7 @@ cc_library(
":DataLayoutInterfaces",
":DialectUtils",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":MathDialect",
":MemRefDialect",
@ -5127,6 +5147,7 @@ cc_binary(
":GPUToSPIRV",
":GPUToVulkanTransforms",
":GPUTransforms",
":LLVMCommonConversion",
":LLVMDialect",
":LLVMToLLVMIRTranslation",
":MemRefDialect",
@ -6229,6 +6250,7 @@ cc_library(
],
deps = [
":ConversionPassIncGen",
":DialectUtils",
":IR",
":LinalgOps",
":MathDialect",
@ -6378,6 +6400,7 @@ cc_library(
":ComplexDialect",
":ConversionPassIncGen",
":IR",
":LLVMCommonConversion",
":LLVMDialect",
":Pass",
":StandardToLLVM",