diff options
author | Jacques Pienaar <jpienaar@google.com> | 2019-08-17 11:05:35 -0700 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-08-17 11:06:03 -0700 |
commit | 79f53b0cf1fd204af0a09c8e085dd09a1ce0b6d9 (patch) | |
tree | 066738742712f75cc95b5ea30ae10d9a9c379d8b /mlir/test/lib/Transforms/TestLoopParametricTiling.cpp | |
parent | dbf8538b64a61d0b93420b293b8508b158377757 (diff) | |
download | bcm5719-llvm-79f53b0cf1fd204af0a09c8e085dd09a1ce0b6d9.tar.gz bcm5719-llvm-79f53b0cf1fd204af0a09c8e085dd09a1ce0b6d9.zip |
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
Diffstat (limited to 'mlir/test/lib/Transforms/TestLoopParametricTiling.cpp')
-rw-r--r-- | mlir/test/lib/Transforms/TestLoopParametricTiling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp b/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp index e01ff66d825..cf68ec1b9a7 100644 --- a/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp +++ b/mlir/test/lib/Transforms/TestLoopParametricTiling.cpp @@ -57,7 +57,7 @@ public: std::unique_ptr<FunctionPassBase> mlir::createSimpleParametricTilingPass(ArrayRef<int64_t> outerLoopSizes) { - return llvm::make_unique<SimpleParametricLoopTilingPass>(outerLoopSizes); + return std::make_unique<SimpleParametricLoopTilingPass>(outerLoopSizes); } static PassRegistration<SimpleParametricLoopTilingPass> @@ -65,7 +65,7 @@ static PassRegistration<SimpleParametricLoopTilingPass> "test application of parametric tiling to the outer loops so that the " "ranges of outer loops become static", [] { - auto pass = llvm::make_unique<SimpleParametricLoopTilingPass>( + auto pass = std::make_unique<SimpleParametricLoopTilingPass>( ArrayRef<int64_t>{}); pass->sizes.assign(clOuterLoopSizes.begin(), clOuterLoopSizes.end()); return pass; |