[Mlir-commits] [mlir] [mlir] Add searchable remark history and query-based links (PR #237762)

Henrich Lauko llvmlistbot at llvm.org
Tue Nov 3 01:35:19 PST 2026


================
@@ -264,6 +338,15 @@ void RemarkEngine::reportImpl(const Remark &remark) {
 }
 
 void RemarkEngine::report(const Remark &&remark) {
+  if (historyEnabled.load(std::memory_order_acquire)) {
+    std::lock_guard<std::mutex> lock(historyMutex);
----------------
xlauko wrote:

nit: use C++17 std::scoped_lock 

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


More information about the Mlir-commits mailing list