From 66ff1cbd71d21620bd303371ec989000d9e882b0 Mon Sep 17 00:00:00 2001 From: dongAxis Date: Fri, 28 May 2021 17:50:38 +0800 Subject: [PATCH] [NFC][Transforms][Utils] remove useless variable in CloneBasicBlock --- llvm/lib/Transforms/Utils/CloneFunction.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Transforms/Utils/CloneFunction.cpp b/llvm/lib/Transforms/Utils/CloneFunction.cpp index 6e139e2..9720f2c 100644 --- a/llvm/lib/Transforms/Utils/CloneFunction.cpp +++ b/llvm/lib/Transforms/Utils/CloneFunction.cpp @@ -44,7 +44,6 @@ BasicBlock *llvm::CloneBasicBlock(const BasicBlock *BB, ValueToValueMapTy &VMap, const Twine &NameSuffix, Function *F, ClonedCodeInfo *CodeInfo, DebugInfoFinder *DIFinder) { - DenseMap Cache; BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F); if (BB->hasName()) NewBB->setName(BB->getName() + NameSuffix); -- 2.7.4