[MLInliner] No need to invalidate everything post-inlining.
authorMircea Trofin <mtrofin@google.com>
Sat, 25 Jun 2022 01:19:34 +0000 (18:19 -0700)
committerMircea Trofin <mtrofin@google.com>
Sat, 25 Jun 2022 01:22:06 +0000 (18:22 -0700)
commit7ae92a69c2f3ddd3d41cbc5c808d240184b394d0
tree6430534b325fb7c03886cc505fb291d7a844f8ea
parent73709fe09c12ef191a30430e40efab1e73fc2f53
[MLInliner] No need to invalidate everything post-inlining.

We really just need to invalidate loop info and the dominator tree, in
addition to the FunctionPropertiesInfo we were invalidating originally.
Doing more adds unnecessary compile time overhead.
llvm/lib/Analysis/MLInlineAdvisor.cpp