[llvm-branch-commits] [llvm] [llvm-remarkutil] Introduce filter command (PR #159784)

Tobias Stadler via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 22 03:32:06 PDT 2025


https://github.com/tobias-stadler updated https://github.com/llvm/llvm-project/pull/159784

>From b27faa20ac131bf50a447b7cc7c0130893d58d71 Mon Sep 17 00:00:00 2001
From: Tobias Stadler <mail at stadler-tobias.de>
Date: Mon, 22 Sep 2025 11:31:57 +0100
Subject: [PATCH] Hopefully fix SerializerFormat

Created using spr 1.3.7-wip
---
 llvm/tools/llvm-remarkutil/RemarkFilter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/tools/llvm-remarkutil/RemarkFilter.cpp b/llvm/tools/llvm-remarkutil/RemarkFilter.cpp
index 5685a24d4d1c3..acfef6608677c 100644
--- a/llvm/tools/llvm-remarkutil/RemarkFilter.cpp
+++ b/llvm/tools/llvm-remarkutil/RemarkFilter.cpp
@@ -53,7 +53,7 @@ static Error tryFilter() {
       SerializerFormat = Format::YAML;
   }
 
-  auto MaybeOF = getOutputFileForRemarks(OutputFileName, Format::YAML);
+  auto MaybeOF = getOutputFileForRemarks(OutputFileName, SerializerFormat);
   if (!MaybeOF)
     return MaybeOF.takeError();
   auto OF = std::move(*MaybeOF);



More information about the llvm-branch-commits mailing list