summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp')
-rw-r--r--mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp b/mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp
index b4d48b78025..cfed2a2647c 100644
--- a/mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp
+++ b/mlir/lib/Quantizer/Support/ConstraintAnalysisGraph.cpp
@@ -68,7 +68,7 @@ CAGOperandAnchor *CAGSlice::getOperandAnchor(Operation *op,
}
// Create.
- auto anchor = llvm::make_unique<CAGOperandAnchor>(op, operandIdx);
+ auto anchor = std::make_unique<CAGOperandAnchor>(op, operandIdx);
auto *unowned = anchor.release();
unowned->nodeId = allNodes.size();
allNodes.push_back(unowned);
@@ -87,7 +87,7 @@ CAGResultAnchor *CAGSlice::getResultAnchor(Operation *op, unsigned resultIdx) {
}
// Create.
- auto anchor = llvm::make_unique<CAGResultAnchor>(op, resultIdx);
+ auto anchor = std::make_unique<CAGResultAnchor>(op, resultIdx);
auto *unowned = anchor.release();
unowned->nodeId = allNodes.size();
allNodes.push_back(unowned);
OpenPOWER on IntegriCloud