From 79f53b0cf1fd204af0a09c8e085dd09a1ce0b6d9 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Sat, 17 Aug 2019 11:05:35 -0700 Subject: Change from llvm::make_unique to std::make_unique Switch to C++14 standard method as llvm::make_unique has been removed ( https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease next integrates. PiperOrigin-RevId: 263953918 --- mlir/lib/Analysis/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mlir/lib/Analysis/Utils.cpp') diff --git a/mlir/lib/Analysis/Utils.cpp b/mlir/lib/Analysis/Utils.cpp index fc36cc58f8e..85e39e37f65 100644 --- a/mlir/lib/Analysis/Utils.cpp +++ b/mlir/lib/Analysis/Utils.cpp @@ -913,7 +913,7 @@ static Optional getMemoryFootprintBytes(Block &block, } // Compute the memref region symbolic in any IVs enclosing this block. - auto region = llvm::make_unique(opInst->getLoc()); + auto region = std::make_unique(opInst->getLoc()); if (failed( region->compute(opInst, /*loopDepth=*/getNestingDepth(*block.begin())))) { -- cgit v1.2.3