mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Alkis noticed that this variable is dead. Thanks!
llvm-svn: 18369
This commit is contained in:
parent
e561ef0261
commit
25b93fea2a
@ -562,7 +562,6 @@ static bool HoistThenElseCodeToIf(BranchInst *BI) {
|
||||
|
||||
// If we get here, we can hoist at least one instruction.
|
||||
BasicBlock *BIParent = BI->getParent();
|
||||
bool Hoisted = false;
|
||||
|
||||
do {
|
||||
// If we are hoisting the terminator instruction, don't move one (making a
|
||||
@ -580,7 +579,6 @@ static bool HoistThenElseCodeToIf(BranchInst *BI) {
|
||||
|
||||
I1 = BB1->begin();
|
||||
I2 = BB2->begin();
|
||||
Hoisted = true;
|
||||
} while (I1->getOpcode() == I2->getOpcode() && I1->isIdenticalTo(I2));
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user