Skip to content

Commit 48ee6bf

Browse files
committed
[mlir] Fix -Wunused-function in TransformInterpreterPassBase.cpp (NFC)
/llvm-project/mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp:167:1: error: unused function 'saveReproToTempFile' [-Werror,-Wunused-function] saveReproToTempFile(llvm::raw_ostream &os, Operation *target, ^ 1 error generated.
1 parent 79c33d2 commit 48ee6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Transform/Transforms/TransformInterpreterPassBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static llvm::raw_ostream &printModuleForRepro(llvm::raw_ostream &os,
163163

164164
/// Saves the payload and the transform IR into a temporary file and reports
165165
/// the file name to `os`.
166-
static void
166+
[[maybe_unused]] static void
167167
saveReproToTempFile(llvm::raw_ostream &os, Operation *target,
168168
Operation *transform, StringRef passName,
169169
const Pass::Option<std::string> &debugPayloadRootTag,

0 commit comments

Comments
 (0)