@@ -456,6 +456,7 @@ xla_test(
456456 ],
457457 tags = [
458458 "test_migrated_to_hlo_runner_pjrt" ,
459+ "test_xla_cpu_no_thunks" ,
459460 ],
460461 deps = [
461462 "//xla/hlo/testlib:verified_hlo_module" ,
@@ -686,18 +687,39 @@ xla_cc_test(
686687 name = "ir_emitter_test" ,
687688 srcs = ["ir_emitter_test.cc" ],
688689 deps = [
690+ ":cpu_compiler" ,
691+ ":cpu_executable" ,
692+ ":cpu_options" ,
689693 ":ir_emitter" ,
690694 ":ir_function" ,
695+ ":runtime_symbol_generator" ,
691696 ":target_machine_features_stub" ,
697+ "//xla:cpu_function_runtime" ,
698+ "//xla/backends/cpu/codegen:cpu_features" ,
699+ "//xla/backends/cpu/codegen:ir_compiler" ,
700+ "//xla/backends/cpu/codegen:jit_compiler" ,
701+ "//xla/backends/cpu/codegen:target_machine_features" ,
692702 "//xla/hlo/analysis:hlo_ordering" ,
693703 "//xla/hlo/ir:hlo" ,
694704 "//xla/hlo/parser:hlo_parser" ,
705+ "//xla/hlo/transforms:hlo_memory_scheduler" ,
695706 "//xla/service:buffer_assignment" ,
707+ "//xla/service:buffer_value" ,
696708 "//xla/service:hlo_module_config" ,
697709 "//xla/service:logical_buffer" ,
710+ "//xla/service/llvm_ir:llvm_util" ,
698711 "//xla/tests:hlo_test_base" ,
712+ "//xla/tsl/lib/core:status_test_util" ,
713+ "@com_google_absl//absl/container:flat_hash_map" ,
714+ "@com_google_absl//absl/status:statusor" ,
715+ "@com_google_absl//absl/strings:string_view" ,
716+ "@com_google_googletest//:gtest" ,
699717 "@llvm-project//llvm:Core" ,
700718 "@llvm-project//llvm:Support" ,
719+ "@llvm-project//llvm:Target" ,
720+ "@llvm-project//mlir:IR" ,
721+ "@tsl//tsl/platform:env" ,
722+ "@tsl//tsl/platform:errors" ,
701723 "@tsl//tsl/platform:statusor" ,
702724 "@tsl//tsl/platform:test" ,
703725 "@tsl//tsl/platform:test_main" ,
@@ -742,6 +764,7 @@ cc_library(
742764 copts = tsl_copts (),
743765 deps = [
744766 ":backend_config_proto_cc" ,
767+ ":cpu_instruction_fusion" ,
745768 ":cpu_options" ,
746769 ":cpu_runtime" ,
747770 ":dot_op_emitter" ,
0 commit comments