diff options
author | 2023-05-10 10:11:48 +0200 | |
---|---|---|
committer | 2023-05-10 15:54:41 +0000 | |
commit | 345aedde88070dee32c297f44caf2b5b2fb00942 (patch) | |
tree | 3f6182a5ca73f14a05e6ad2d3cc4bd846c96c4cb /compiler/driver/compiler_options.cc | |
parent | 85752e245be2c33a30bc5f5d1f72825f1ec68609 (diff) |
ART: Remove graph coloring register allocator.
Test: m test-art-host-gtest
Bug: 281793697
Change-Id: Ic73a8a06e08437847db943bc3df148ca65b5f9a9
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r-- | compiler/driver/compiler_options.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; |