diff options
author | dongAxis <dongaxis@linux.alibaba.com> | 2021-05-28 17:50:38 +0800 |
---|---|---|
committer | dongAxis <dongaxis@linux.alibaba.com> | 2021-05-28 17:50:38 +0800 |
commit | 66ff1cbd71d21620bd303371ec989000d9e882b0 (patch) | |
tree | 214c67ac164acac6acd707fc929cf0e458159d14 /llvm/lib/Transforms/Utils/CloneFunction.cpp | |
parent | ec1f6f7e3f92d806d0f7e4d687173a150102ec5d (diff) | |
download | llvm-66ff1cbd71d21620bd303371ec989000d9e882b0.zip llvm-66ff1cbd71d21620bd303371ec989000d9e882b0.tar.gz llvm-66ff1cbd71d21620bd303371ec989000d9e882b0.tar.bz2 |
[NFC][Transforms][Utils] remove useless variable in CloneBasicBlock
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneFunction.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/CloneFunction.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
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<const MDNode *, MDNode *> Cache; BasicBlock *NewBB = BasicBlock::Create(BB->getContext(), "", F); if (BB->hasName()) NewBB->setName(BB->getName() + NameSuffix); |