From 345aedde88070dee32c297f44caf2b5b2fb00942 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Wed, 10 May 2023 10:11:48 +0200 Subject: ART: Remove graph coloring register allocator. Test: m test-art-host-gtest Bug: 281793697 Change-Id: Ic73a8a06e08437847db943bc3df148ca65b5f9a9 --- compiler/driver/compiler_options.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'compiler/driver/compiler_options.cc') diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index 603596f3bc..3ed5f88875 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -121,7 +121,8 @@ bool CompilerOptions::ParseRegisterAllocationStrategy(const std::string& option, if (option == "linear-scan") { register_allocation_strategy_ = RegisterAllocator::Strategy::kRegisterAllocatorLinearScan; } else if (option == "graph-color") { - register_allocation_strategy_ = RegisterAllocator::Strategy::kRegisterAllocatorGraphColor; + LOG(ERROR) << "Graph coloring allocator has been removed, using linear scan instead."; + register_allocation_strategy_ = RegisterAllocator::Strategy::kRegisterAllocatorLinearScan; } else { *error_msg = "Unrecognized register allocation strategy. Try linear-scan, or graph-color."; return false; -- cgit v1.2.3-59-g8ed1b