[InstrProf] Move BPFunctionNode test to ProfileDataTests
authorEllis Hoag <ellis.sparky.hoag@gmail.com>
Wed, 7 Jun 2023 01:04:11 +0000 (18:04 -0700)
committerEllis Hoag <ellis.sparky.hoag@gmail.com>
Wed, 7 Jun 2023 02:12:51 +0000 (19:12 -0700)
commit1794532bb942bac9b82b6817e349210b6aafaaa9
tree8f6be1beaa7229add69675ecd65e64c8a6cc80df
parenteab8c1eb6275c326753b275c06de6ed364375438
[InstrProf] Move BPFunctionNode test to ProfileDataTests

In https://reviews.llvm.org/D147812 I created
`BalancedPartitioningTest.cpp` and inadvertently drastically increased the
number of files needed to compile `SupportTests`. Instead lets move the
`BPFunctionNode` test to `unittests/ProfileData` so we can remove the
extra dependency.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D152325
llvm/unittests/ProfileData/BPFunctionNodeTest.cpp [new file with mode: 0644]
llvm/unittests/ProfileData/CMakeLists.txt
llvm/unittests/Support/BalancedPartitioningTest.cpp
llvm/unittests/Support/CMakeLists.txt