aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneFunction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-10 07:27:29 -0700
committerGitHub <noreply@github.com>2025-05-10 07:27:29 -0700
commit6e4f501b1b67b9d45cbf97b959d43e776983b9c6 (patch)
treea4f31c34a07fb54f5b4530569e58e216d7f57849 /llvm/lib/Transforms/Utils/CloneFunction.cpp
parent53c7062d6c2d834ef68a93d4ea71976ad441585c (diff)
downloadllvm-6e4f501b1b67b9d45cbf97b959d43e776983b9c6.zip
llvm-6e4f501b1b67b9d45cbf97b959d43e776983b9c6.tar.gz
llvm-6e4f501b1b67b9d45cbf97b959d43e776983b9c6.tar.bz2
[Utils] Remove redundant calls to std::unique_ptr<T>::get (NFC) (#139352)
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/CloneFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp
index 7b3e0729..0e0c012 100644
--- a/llvm/lib/Transforms/Utils/CloneFunction.cpp
+++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp
@@ -44,7 +44,7 @@ using namespace llvm;
STATISTIC(RemappedAtomMax, "Highest global NextAtomGroup (after mapping)");
void llvm::mapAtomInstance(const DebugLoc &DL, ValueToValueMapTy &VMap) {
- auto CurGroup = DL.get()->getAtomGroup();
+ auto CurGroup = DL->getAtomGroup();
if (!CurGroup)
return;