diff --git a/xla/service/cpu/simple_orc_jit.cc b/xla/service/cpu/simple_orc_jit.cc index cda9d70138bed..21ce0280906c1 100644 --- a/xla/service/cpu/simple_orc_jit.cc +++ b/xla/service/cpu/simple_orc_jit.cc @@ -299,10 +299,6 @@ SimpleOrcJIT::InferTargetMachineForJIT( const llvm::TargetOptions& target_options, llvm::CodeGenOptLevel opt_level) { std::vector attrs = DetectMachineAttributes(); - // Default preference is 256-bit vectorization because of the attribute - // `+prefer-256-bit`. Drop `prefer-256-bit` from the attributes by negation - // for higher target machine features, for example, avx-512 vectorization. - attrs.push_back("-prefer-256-bit"); llvm::SmallVector llvm_attrs(attrs.begin(), attrs.end()); std::unique_ptr target_machine( llvm::EngineBuilder()