Add BUILD rules for mlir-spirv-cpu-runner

PiperOrigin-RevId: 350606848
Change-Id: I9ac5e07a8ec1061a9a1b5413e9d50b1237827499
This commit is contained in:
Lei Zhang 2021-01-07 11:43:30 -08:00 committed by TensorFlower Gardener
parent 3c4b13bcdb
commit 3a6b834adb

View File

@ -4198,6 +4198,31 @@ cc_binary(
],
)
cc_binary(
name = "mlir-spirv-cpu-runner",
srcs = ["tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp"],
deps = [
":AllPassesAndDialectsNoRegistration",
":ExecutionEngineUtils",
":GPUDialect",
":GPUToSPIRV",
":GPUTransforms",
":IR",
":LLVMDialect",
":MlirJitRunner",
":Pass",
":SPIRVConversion",
":SPIRVDialect",
":SPIRVToLLVM",
":SPIRVTransforms",
":StandardToLLVM",
":TargetLLVMIR",
"@llvm-project//llvm:Core",
"@llvm-project//llvm:Linker",
"@llvm-project//llvm:Support",
],
)
cc_library(
name = "TableGen",
srcs = glob(["lib/TableGen/*.cpp"]),