Skip to content

Commit 3313b7e

Browse files
ezhulenevtensorflower-gardener
authored andcommitted
[xla:cpu] NFC: Remove deprecated XLA:CPU mlir based codegen part #5
PiperOrigin-RevId: 630156915
1 parent fbfd5f5 commit 3313b7e

File tree

6 files changed

+0
-256
lines changed

6 files changed

+0
-256
lines changed

third_party/xla/xla/mlir/memref/BUILD

Lines changed: 0 additions & 16 deletions
This file was deleted.

third_party/xla/xla/mlir/memref/transforms/BUILD

Lines changed: 0 additions & 40 deletions
This file was deleted.

third_party/xla/xla/mlir/memref/transforms/aligned_allocations.cc

Lines changed: 0 additions & 60 deletions
This file was deleted.

third_party/xla/xla/mlir/memref/transforms/passes.h

Lines changed: 0 additions & 37 deletions
This file was deleted.

third_party/xla/xla/mlir/memref/transforms/passes.td

Lines changed: 0 additions & 39 deletions
This file was deleted.

third_party/xla/xla/mlir/runtime/transforms/BUILD

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ load("@llvm-project//mlir:tblgen.bzl", "gentbl_cc_library")
22
load(
33
"@local_tsl//tsl/platform:build_config_root.bzl",
44
"if_llvm_aarch64_available",
5-
"if_llvm_arm_available",
65
"if_llvm_powerpc_available",
76
"if_llvm_system_z_available",
87
"if_llvm_x86_available",
@@ -103,69 +102,6 @@ xla_cc_test(
103102
],
104103
)
105104

106-
cc_library(
107-
name = "compilation_pipeline_cpu",
108-
srcs = ["compilation_pipeline_cpu.cc"],
109-
hdrs = ["compilation_pipeline_cpu.h"],
110-
compatible_with = get_compatible_with_portable(),
111-
local_defines = select({
112-
"//xla/service/cpu:experimental_mlir_gpu_enabled": [
113-
"EXPERIMENTAL_MLIR_GPU=1",
114-
],
115-
"//conditions:default": [],
116-
}),
117-
visibility = ["//visibility:public"],
118-
deps = [
119-
":compilation_pipeline_options",
120-
":compiler",
121-
":passes",
122-
"//xla/mlir/memref/transforms:passes",
123-
"//xla/mlir/runtime/ir:rt",
124-
"//xla/mlir_hlo:transforms_passes",
125-
"//xla/runtime:compiler",
126-
"@llvm-project//mlir:AffineDialect",
127-
"@llvm-project//mlir:AffineToStandard",
128-
"@llvm-project//mlir:ArithDialect",
129-
"@llvm-project//mlir:ArithTransforms",
130-
"@llvm-project//mlir:AsyncDialect",
131-
"@llvm-project//mlir:AsyncToLLVM",
132-
"@llvm-project//mlir:AsyncTransforms",
133-
"@llvm-project//mlir:BuiltinToLLVMIRTranslation",
134-
"@llvm-project//mlir:ComplexToLLVM",
135-
"@llvm-project//mlir:ControlFlowDialect",
136-
"@llvm-project//mlir:FuncDialect",
137-
"@llvm-project//mlir:FuncExtensions",
138-
"@llvm-project//mlir:LLVMToLLVMIRTranslation",
139-
"@llvm-project//mlir:LinalgDialect",
140-
"@llvm-project//mlir:LinalgTransforms",
141-
"@llvm-project//mlir:MathDialect",
142-
"@llvm-project//mlir:MathToLLVM",
143-
"@llvm-project//mlir:MemRefDialect",
144-
"@llvm-project//mlir:MemRefToLLVM",
145-
"@llvm-project//mlir:MemRefTransforms",
146-
"@llvm-project//mlir:Pass",
147-
"@llvm-project//mlir:ReconcileUnrealizedCasts",
148-
"@llvm-project//mlir:SCFDialect",
149-
"@llvm-project//mlir:SparseTensorDialect",
150-
"@llvm-project//mlir:Transforms",
151-
"@local_tsl//tsl/platform:logging",
152-
] + select({
153-
"//xla/service/cpu:experimental_mlir_gpu_enabled": [
154-
"@llvm-project//mlir:GPUToGPURuntimeTransforms",
155-
"@llvm-project//mlir:GPUTransforms",
156-
],
157-
"//conditions:default": [],
158-
}) + if_llvm_aarch64_available([
159-
"@llvm-project//mlir:ArmSVEToLLVMIRTranslation",
160-
]) + if_llvm_arm_available([
161-
"@llvm-project//mlir:ArmNeonToLLVMIRTranslation",
162-
]) + if_llvm_x86_available([
163-
"@llvm-project//mlir:AMXToLLVMIRTranslation",
164-
"@llvm-project//mlir:X86VectorToLLVMIRTranslation",
165-
]),
166-
alwayslink = 1, # has pipeline registration
167-
)
168-
169105
cc_library(
170106
name = "compilation_pipeline_options",
171107
hdrs = ["compilation_pipeline_options.h"],

0 commit comments

Comments
 (0)