[llvm] 373b762 - [IROutliner] Remove unused variable. NFC.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 8 09:33:55 PDT 2021
Author: Benjamin Kramer
Date: 2021-09-08T18:33:41+02:00
New Revision: 373b7622c1e1bf66e01db0758a121b47c283874b
URL: https://github.com/llvm/llvm-project/commit/373b7622c1e1bf66e01db0758a121b47c283874b
DIFF: https://github.com/llvm/llvm-project/commit/373b7622c1e1bf66e01db0758a121b47c283874b.diff
LOG: [IROutliner] Remove unused variable. NFC.
Added:
Modified:
llvm/lib/Transforms/IPO/IROutliner.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/IPO/IROutliner.cpp b/llvm/lib/Transforms/IPO/IROutliner.cpp
index 9b563d4a7cba..4bcc952d52ce 100644
--- a/llvm/lib/Transforms/IPO/IROutliner.cpp
+++ b/llvm/lib/Transforms/IPO/IROutliner.cpp
@@ -1126,8 +1126,7 @@ replaceArgumentUses(OutlinableRegion &Region,
if (!RI)
continue;
Value *RetVal = RI->getReturnValue();
- DenseMap<Value *, BasicBlock *>::iterator VBBIt, PHIVBBIt;
- VBBIt = OutputBBs.find(RetVal);
+ auto VBBIt = OutputBBs.find(RetVal);
assert(VBBIt != OutputBBs.end() && "Could not find output value!");
Instruction *NewI = I->clone();
More information about the llvm-commits
mailing list