diff options
Diffstat (limited to 'mlir/lib/Transforms/StripDebugInfo.cpp')
-rw-r--r-- | mlir/lib/Transforms/StripDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/StripDebugInfo.cpp b/mlir/lib/Transforms/StripDebugInfo.cpp index 15db8b58e88..772df3da3c7 100644 --- a/mlir/lib/Transforms/StripDebugInfo.cpp +++ b/mlir/lib/Transforms/StripDebugInfo.cpp @@ -38,7 +38,7 @@ void StripDebugInfo::runOnFunction() { } /// Creates a pass to strip debug information from a function. -std::unique_ptr<FunctionPassBase> mlir::createStripDebugInfoPass() { +std::unique_ptr<OpPassBase<FuncOp>> mlir::createStripDebugInfoPass() { return std::make_unique<StripDebugInfo>(); } |