Skip to content

Commit

Permalink
[MLGO] Regalloc: allow multiple occurences of -regalloc-enable-advisor
Browse files Browse the repository at this point in the history
This allows scearios where some central config sets it one way and a
user wants to override it.
  • Loading branch information
mtrofin committed Jan 29, 2022
1 parent 56cc697 commit bc5644e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
Expand Up @@ -25,7 +25,7 @@
using namespace llvm;

static cl::opt<RegAllocEvictionAdvisorAnalysis::AdvisorMode> Mode(
"regalloc-enable-advisor", cl::Hidden,
"regalloc-enable-advisor", cl::Hidden, cl::ZeroOrMore,
cl::init(RegAllocEvictionAdvisorAnalysis::AdvisorMode::Default),
cl::desc("Enable regalloc advisor mode"),
cl::values(
Expand Down

0 comments on commit bc5644e

Please sign in to comment.