mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 17:28:30 +08:00
Remove the unused variable `BI` introduced in #86269.
This commit is contained in:
@@ -509,10 +509,10 @@ void TailRecursionEliminator::createTailRecurseLoopHeader(CallInst *CI) {
|
||||
BasicBlock *NewEntry = BasicBlock::Create(F.getContext(), "", &F, HeaderBB);
|
||||
NewEntry->takeName(HeaderBB);
|
||||
HeaderBB->setName("tailrecurse");
|
||||
BranchInst *BI = BranchInst::Create(HeaderBB, NewEntry);
|
||||
BranchInst::Create(HeaderBB, NewEntry);
|
||||
// If the new branch preserves the debug location of CI, it could result in
|
||||
// misleading stepping, if CI is located in a conditional branch.
|
||||
// So, here we don't give any debug location to BI.
|
||||
// So, here we don't give any debug location to the new branch.
|
||||
|
||||
// Move all fixed sized allocas from HeaderBB to NewEntry.
|
||||
for (BasicBlock::iterator OEBI = HeaderBB->begin(), E = HeaderBB->end(),
|
||||
|
||||
Reference in New Issue
Block a user