Skip to content

Commit 0ed7fca

Browse files
Reverts 871a41d
PiperOrigin-RevId: 700128409
1 parent c6c3d35 commit 0ed7fca

29 files changed

+309
-292
lines changed

xla/backends/cpu/codegen/BUILD

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -86,32 +86,15 @@ cc_library(
8686
],
8787
)
8888

89-
cc_library(
90-
name = "target_machine_features",
91-
srcs = ["target_machine_features.cc"],
92-
hdrs = ["target_machine_features.h"],
93-
deps = [
94-
"//xla:shape_util",
95-
"//xla:xla_data_proto_cc",
96-
"//xla/backends/cpu:alignment",
97-
"@com_google_absl//absl/container:flat_hash_map",
98-
"@llvm-project//llvm:Analysis",
99-
"@llvm-project//llvm:Support",
100-
"@llvm-project//llvm:Target",
101-
"@llvm-project//llvm:ir_headers",
102-
"@tsl//tsl/platform:logging",
103-
],
104-
)
105-
10689
cc_library(
10790
name = "vector_ir_builder",
10891
srcs = ["vector_ir_builder.cc"],
10992
hdrs = ["vector_ir_builder.h"],
11093
deps = [
111-
":target_machine_features",
11294
"//xla:shape_util",
11395
"//xla:types",
11496
"//xla:xla_data_proto_cc",
97+
"//xla/service/cpu:target_machine_features",
11598
"//xla/service/llvm_ir:llvm_util",
11699
"@com_google_absl//absl/algorithm:container",
117100
"@com_google_absl//absl/log",

xla/backends/cpu/codegen/target_machine_features.cc

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

xla/backends/cpu/codegen/target_machine_features.h

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

xla/backends/cpu/codegen/vector_ir_builder.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ limitations under the License.
3939
#include "llvm/IR/Value.h"
4040
#include "llvm/Support/Alignment.h"
4141
#include "llvm/Support/Casting.h"
42-
#include "xla/backends/cpu/codegen/target_machine_features.h"
42+
#include "xla/service/cpu/target_machine_features.h"
4343
#include "xla/service/llvm_ir/llvm_util.h"
4444
#include "xla/shape_util.h"
4545
#include "xla/xla_data.pb.h"

0 commit comments

Comments
 (0)