[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)

Lei Wang via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jul 25 10:57:15 PDT 2024


================
@@ -266,6 +325,123 @@ class StaleMatcher {
     }
     return BestBlock;
   }
+
+  /// A helper function for logging.
+  static bool LogErrIfExpr(bool Expr, std::string Message) {
----------------
wlei-llvm wrote:

Nit: `std::string` can this be `StringRef`?

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


More information about the llvm-branch-commits mailing list