[llvm] [BOLT] Hash-based function matching (PR #96572)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 26 11:20:10 PDT 2024


================
@@ -128,6 +128,14 @@ cl::opt<bool>
                cl::desc("instrument code to generate accurate profile data"),
                cl::cat(BoltOptCategory));
 
+cl::opt<bool> Lite("lite", cl::desc("skip processing of cold functions"),
----------------
aaupov wrote:

Alexander, this is an existing option, just being moved around. Since we're using it from Profile component, it must be visible there. It's originally defined in Rewrite, but Profile doesn't depend on Rewrite. Hence the move to Utils which is included by both Profile and Rewrite.

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


More information about the llvm-commits mailing list