[ThinLTO] Restructure promotion / internalization decisions (NFC)
authorTeresa Johnson <tejohnson@google.com>
Thu, 1 Jun 2023 15:57:35 +0000 (08:57 -0700)
committerTeresa Johnson <tejohnson@google.com>
Thu, 1 Jun 2023 16:08:43 +0000 (09:08 -0700)
commit06bb94832d0d9c23b9b4c735007700057aecb93b
tree865f38c71038e766740509699321ac5b16e915dd
parent0b8c8bc87404d324120a88e08ee97cdd0f711b31
[ThinLTO] Restructure promotion / internalization decisions (NFC)

Restructures the combined index based promotion and internalization
decision code so that it is a bit easier to follow. This is in
preparation for a bugfix to this code that will modify one part of the
logic.
llvm/lib/LTO/LTO.cpp