[MLGO] Regalloc: allow multiple occurences of -regalloc-enable-advisor
authorMircea Trofin <mtrofin@google.com>
Sat, 29 Jan 2022 16:59:31 +0000 (08:59 -0800)
committerMircea Trofin <mtrofin@google.com>
Sat, 29 Jan 2022 17:00:52 +0000 (09:00 -0800)
commitbc5644ee74f4cb42042257ac129d2be1c252e3f2
tree6199141bf5fec028fc34ccbca996f9599cf1f71a
parent56cc697323445337134cc2bbe8ce8b1f60131574
[MLGO] Regalloc: allow multiple occurences of -regalloc-enable-advisor

This allows scearios where some central config sets it one way and a
user wants to override it.
llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp