[llvm] [ctx_prof] Extend `WorkloadImportsManager` to use the contextual profile (PR #98682)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 17 12:56:29 PDT 2024


================
@@ -115,6 +115,15 @@ TEST_F(PGOCtxProfRWTest, RoundTrip) {
     EXPECT_EQ(Ctxes.size(), 2U);
     for (auto &[G, R] : roots())
       checkSame(*R, Ctxes.find(G)->second);
+
+    DenseSet<GlobalValue::GUID> Guids;
+    Ctxes.at(1U).getContainedGuids(Guids);
----------------
teresajohnson wrote:

It is unclear to me how this test change is related to the rest of the PR.

https://github.com/llvm/llvm-project/pull/98682


More information about the llvm-commits mailing list