[Mlir-commits] [mlir] fd98612 - [mlir] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#139409)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sat May 10 16:05:29 PDT 2025
Author: Kazu Hirata
Date: 2025-05-10T16:05:26-07:00
New Revision: fd98612accc2cea58e79b0d7addab95cd16950fc
URL: https://github.com/llvm/llvm-project/commit/fd98612accc2cea58e79b0d7addab95cd16950fc
DIFF: https://github.com/llvm/llvm-project/commit/fd98612accc2cea58e79b0d7addab95cd16950fc.diff
LOG: [mlir] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#139409)
Added:
Modified:
mlir/include/mlir/Analysis/DataFlowFramework.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Analysis/DataFlowFramework.h b/mlir/include/mlir/Analysis/DataFlowFramework.h
index 4364907968f97..caf978a51fd8e 100644
--- a/mlir/include/mlir/Analysis/DataFlowFramework.h
+++ b/mlir/include/mlir/Analysis/DataFlowFramework.h
@@ -707,7 +707,7 @@ template <typename AnalysisT, typename... Args>
AnalysisT *DataFlowSolver::load(Args &&...args) {
childAnalyses.emplace_back(new AnalysisT(*this, std::forward<Args>(args)...));
#if LLVM_ENABLE_ABI_BREAKING_CHECKS
- childAnalyses.back().get()->debugName = llvm::getTypeName<AnalysisT>();
+ childAnalyses.back()->debugName = llvm::getTypeName<AnalysisT>();
#endif // LLVM_ENABLE_ABI_BREAKING_CHECKS
return static_cast<AnalysisT *>(childAnalyses.back().get());
}
More information about the Mlir-commits
mailing list