Make LLVMIRModuleTranslation target name match CMake name

PiperOrigin-RevId: 358306741
Change-Id: I12e79c398db0504ead0130acae2a0cca8c76a7db
This commit is contained in:
Geoffrey Martin-Noble 2021-02-18 18:00:27 -08:00 committed by TensorFlower Gardener
parent 0795d9d94c
commit 0f4c8f4a7b
5 changed files with 18 additions and 18 deletions

View File

@ -118,7 +118,7 @@ tf_cc_binary(
"@llvm-project//mlir:ExecutionEngineUtils", "@llvm-project//mlir:ExecutionEngineUtils",
"@llvm-project//mlir:Pass", "@llvm-project//mlir:Pass",
"@llvm-project//mlir:TargetLLVMIR", "@llvm-project//mlir:TargetLLVMIR",
"@llvm-project//mlir:LLVMIRModuleTranslation", "@llvm-project//mlir:TargetLLVMIRModuleTranslation",
] + if_llvm_system_z_available([ ] + if_llvm_system_z_available([
"@llvm-project//llvm:SystemZCodeGen", # fixdeps: keep "@llvm-project//llvm:SystemZCodeGen", # fixdeps: keep
]) + if_llvm_aarch64_available([ ]) + if_llvm_aarch64_available([

View File

@ -126,7 +126,7 @@ cc_library(
"@llvm-project//mlir:StandardOpsTransforms", "@llvm-project//mlir:StandardOpsTransforms",
"@llvm-project//mlir:Support", "@llvm-project//mlir:Support",
"@llvm-project//mlir:TargetLLVMIR", "@llvm-project//mlir:TargetLLVMIR",
"@llvm-project//mlir:LLVMIRModuleTranslation", "@llvm-project//mlir:TargetLLVMIRModuleTranslation",
"@llvm-project//mlir:TensorDialect", "@llvm-project//mlir:TensorDialect",
"@llvm-project//mlir:TensorTransforms", "@llvm-project//mlir:TensorTransforms",
"@llvm-project//mlir:Transforms", "@llvm-project//mlir:Transforms",

View File

@ -1161,10 +1161,10 @@ cc_library(
"@llvm-project//llvm:Linker", "@llvm-project//llvm:Linker",
"@llvm-project//mlir:CFGTransforms", "@llvm-project//mlir:CFGTransforms",
"@llvm-project//mlir:IR", "@llvm-project//mlir:IR",
"@llvm-project//mlir:LLVMIRModuleTranslation",
"@llvm-project//mlir:LinalgTransforms", "@llvm-project//mlir:LinalgTransforms",
"@llvm-project//mlir:Pass", "@llvm-project//mlir:Pass",
"@llvm-project//mlir:TargetLLVMIR", "@llvm-project//mlir:TargetLLVMIR",
"@llvm-project//mlir:TargetLLVMIRModuleTranslation",
"@llvm-project//mlir:Transforms", "@llvm-project//mlir:Transforms",
"@llvm-project//mlir:VectorToLLVM", "@llvm-project//mlir:VectorToLLVM",
], ],

View File

@ -3532,7 +3532,7 @@ cc_library(
) )
cc_library( cc_library(
name = "LLVMIRModuleTranslation", name = "TargetLLVMIRModuleTranslation",
srcs = [ srcs = [
"lib/Target/LLVMIR/DebugTranslation.cpp", "lib/Target/LLVMIR/DebugTranslation.cpp",
"lib/Target/LLVMIR/DebugTranslation.h", "lib/Target/LLVMIR/DebugTranslation.h",
@ -3569,8 +3569,8 @@ cc_library(
":IR", ":IR",
":LLVMAVX512", ":LLVMAVX512",
":LLVMAVX512ConversionIncGen", ":LLVMAVX512ConversionIncGen",
":LLVMIRModuleTranslation",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3586,8 +3586,8 @@ cc_library(
":LLVMArmNeon", ":LLVMArmNeon",
":LLVMArmNeonConversionIncGen", ":LLVMArmNeonConversionIncGen",
":LLVMArmNeonIncGen", ":LLVMArmNeonIncGen",
":LLVMIRModuleTranslation",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3602,8 +3602,8 @@ cc_library(
":IR", ":IR",
":LLVMArmSVE", ":LLVMArmSVE",
":LLVMArmSVEConversionIncGen", ":LLVMArmSVEConversionIncGen",
":LLVMIRModuleTranslation",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3616,10 +3616,10 @@ cc_library(
includes = ["include"], includes = ["include"],
deps = [ deps = [
":IR", ":IR",
":LLVMIRModuleTranslation",
":NVVMConversionIncGen", ":NVVMConversionIncGen",
":NVVMDialect", ":NVVMDialect",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3632,10 +3632,10 @@ cc_library(
includes = ["include"], includes = ["include"],
deps = [ deps = [
":IR", ":IR",
":LLVMIRModuleTranslation",
":ROCDLConversionIncGen", ":ROCDLConversionIncGen",
":ROCDLDialect", ":ROCDLDialect",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3650,8 +3650,8 @@ cc_library(
":IR", ":IR",
":LLVMConversionIncGen", ":LLVMConversionIncGen",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
@ -3664,9 +3664,9 @@ cc_library(
includes = ["include"], includes = ["include"],
deps = [ deps = [
":IR", ":IR",
":LLVMIRModuleTranslation",
":OpenMPDialect", ":OpenMPDialect",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:FrontendOpenMP", "@llvm-project//llvm:FrontendOpenMP",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
@ -3691,7 +3691,6 @@ cc_library(
":LLVMArmSVEToLLVMIRTranslation", ":LLVMArmSVEToLLVMIRTranslation",
":LLVMConversionIncGen", ":LLVMConversionIncGen",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":LLVMToLLVMIRTranslation", ":LLVMToLLVMIRTranslation",
":NVVMDialect", ":NVVMDialect",
":NVVMToLLVMIRTranslation", ":NVVMToLLVMIRTranslation",
@ -3700,6 +3699,7 @@ cc_library(
":ROCDLDialect", ":ROCDLDialect",
":ROCDLToLLVMIRTranslation", ":ROCDLToLLVMIRTranslation",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
":Translation", ":Translation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:IRReader", "@llvm-project//llvm:IRReader",
@ -3721,9 +3721,9 @@ cc_library(
deps = [ deps = [
":IR", ":IR",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":Support", ":Support",
":TargetLLVMIR", ":TargetLLVMIR",
":TargetLLVMIRModuleTranslation",
":Translation", ":Translation",
"@llvm-project//llvm:BitReader", "@llvm-project//llvm:BitReader",
"@llvm-project//llvm:BitWriter", "@llvm-project//llvm:BitWriter",
@ -4093,7 +4093,6 @@ cc_binary(
":GPUTransforms", ":GPUTransforms",
":IR", ":IR",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":MlirJitRunner", ":MlirJitRunner",
":NVVMDialect", ":NVVMDialect",
":NVVMToLLVMIRTranslation", ":NVVMToLLVMIRTranslation",
@ -4101,6 +4100,7 @@ cc_binary(
":StandardOps", ":StandardOps",
":StandardToLLVM", ":StandardToLLVM",
":TargetLLVMIR", ":TargetLLVMIR",
":TargetLLVMIRModuleTranslation",
":Transforms", ":Transforms",
"//devtools/build/runtime:get_runfiles_dir", "//devtools/build/runtime:get_runfiles_dir",
"//third_party/gpus/cuda:cuda_headers", "//third_party/gpus/cuda:cuda_headers",
@ -4120,7 +4120,6 @@ cc_binary(
":GPUToVulkanTransforms", ":GPUToVulkanTransforms",
":GPUTransforms", ":GPUTransforms",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":MlirJitRunner", ":MlirJitRunner",
":Pass", ":Pass",
":SPIRVDialect", ":SPIRVDialect",
@ -4129,6 +4128,7 @@ cc_binary(
":StandardToLLVM", ":StandardToLLVM",
":StandardToSPIRV", ":StandardToSPIRV",
":TargetLLVMIR", ":TargetLLVMIR",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
], ],
) )
@ -4143,7 +4143,6 @@ cc_binary(
":GPUTransforms", ":GPUTransforms",
":IR", ":IR",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":MlirJitRunner", ":MlirJitRunner",
":Pass", ":Pass",
":SPIRVConversion", ":SPIRVConversion",
@ -4153,6 +4152,7 @@ cc_binary(
":StandardOps", ":StandardOps",
":StandardToLLVM", ":StandardToLLVM",
":TargetLLVMIR", ":TargetLLVMIR",
":TargetLLVMIRModuleTranslation",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",
"@llvm-project//llvm:Linker", "@llvm-project//llvm:Linker",
"@llvm-project//llvm:Support", "@llvm-project//llvm:Support",
@ -4898,11 +4898,11 @@ cc_library(
":LLVMArmNeon", ":LLVMArmNeon",
":LLVMArmSVE", ":LLVMArmSVE",
":LLVMDialect", ":LLVMDialect",
":LLVMIRModuleTranslation",
":Pass", ":Pass",
":StandardOps", ":StandardOps",
":StandardToLLVM", ":StandardToLLVM",
":Support", ":Support",
":TargetLLVMIRModuleTranslation",
":Transforms", ":Transforms",
":VectorOps", ":VectorOps",
"@llvm-project//llvm:Core", "@llvm-project//llvm:Core",

View File

@ -262,7 +262,6 @@ cc_library(
"@llvm-project//mlir:GPUTransforms", "@llvm-project//mlir:GPUTransforms",
"@llvm-project//mlir:IR", "@llvm-project//mlir:IR",
"@llvm-project//mlir:LLVMDialect", "@llvm-project//mlir:LLVMDialect",
"@llvm-project//mlir:LLVMIRModuleTranslation",
"@llvm-project//mlir:LLVMTransforms", "@llvm-project//mlir:LLVMTransforms",
"@llvm-project//mlir:LinalgOps", "@llvm-project//mlir:LinalgOps",
"@llvm-project//mlir:LinalgTransforms", "@llvm-project//mlir:LinalgTransforms",
@ -278,6 +277,7 @@ cc_library(
"@llvm-project//mlir:StandardOpsTransforms", "@llvm-project//mlir:StandardOpsTransforms",
"@llvm-project//mlir:Support", "@llvm-project//mlir:Support",
"@llvm-project//mlir:TargetLLVMIR", "@llvm-project//mlir:TargetLLVMIR",
"@llvm-project//mlir:TargetLLVMIRModuleTranslation",
"@llvm-project//mlir:TransformUtils", "@llvm-project//mlir:TransformUtils",
"@llvm-project//mlir:Transforms", "@llvm-project//mlir:Transforms",
"@llvm-project//mlir:VectorOps", "@llvm-project//mlir:VectorOps",