[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.
This commit is contained in:
Jie Fu 2023-10-06 20:59:38 +08:00
parent 79c33d23c3
commit 48ee6bf563

View File

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