[NFC][MLInliner] Set up the logger outside the development mode advisor
authorMircea Trofin <mtrofin@google.com>
Mon, 10 Aug 2020 16:22:17 +0000 (09:22 -0700)
committerMircea Trofin <mtrofin@google.com>
Mon, 10 Aug 2020 16:22:17 +0000 (09:22 -0700)
commitd5c81be3ca2504e32a99b57711ae101e02d810fa
treed5babee600b49570f5654339602e8f0a0a1632e5
parent3b21a07fd7fd09618032db49f919cf917ef8afd7
[NFC][MLInliner] Set up the logger outside the development mode advisor

This allows us to subsequently configure the logger for the case when we
use a model evaluator and want to log additional outputs.

Differential Revision: https://reviews.llvm.org/D85577
llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp