diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-30 04:01:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-30 04:01:44 +0000 |
commit | 6f9e5715298055c63178557f891d28f266f08814 (patch) | |
tree | 3963ec08edf65bd422ce19e44fcab3d624b2995b /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 38f14553939e574becab6ea1e0b055d31293b0cf (diff) |
Alkis noticed that this variable is dead. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 78f6caa067..336764f7f2 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -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; |