diff options
Diffstat (limited to 'mlir/lib/Transforms/Utils/Utils.cpp')
-rw-r--r-- | mlir/lib/Transforms/Utils/Utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Transforms/Utils/Utils.cpp b/mlir/lib/Transforms/Utils/Utils.cpp index 250c76913c2..ffc19d1a1d3 100644 --- a/mlir/lib/Transforms/Utils/Utils.cpp +++ b/mlir/lib/Transforms/Utils/Utils.cpp @@ -82,11 +82,11 @@ bool mlir::replaceAllMemRefUsesWith(Value *oldMemRef, Value *newMemRef, std::unique_ptr<DominanceInfo> domInfo; std::unique_ptr<PostDominanceInfo> postDomInfo; if (domInstFilter) - domInfo = llvm::make_unique<DominanceInfo>( + domInfo = std::make_unique<DominanceInfo>( domInstFilter->getParentOfType<FuncOp>()); if (postDomInstFilter) - postDomInfo = llvm::make_unique<PostDominanceInfo>( + postDomInfo = std::make_unique<PostDominanceInfo>( postDomInstFilter->getParentOfType<FuncOp>()); // The ops where memref replacement succeeds are replaced with new ones. |