[llvm] [SampleFDO] Improve stale profile matching by diff algorithm (PR #87375)

via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 26 20:50:48 PDT 2024


================
@@ -0,0 +1,150 @@
+//===- SampleProfileMatcherTests.cpp - SampleProfileMatcher Unit Tests -----==//
----------------
WenleiHe wrote:

Slight preference to test it with lit rather than unit test. I think we should be able to craft a test case that shows different matching from the new algorithm? 

That way we can also remove the test/debug only APIs. 

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


More information about the llvm-commits mailing list