summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-30 04:01:44 +0000
committerChris Lattner <sabre@nondot.org>2004-11-30 04:01:44 +0000
commitfd8cbc257e9ef6d04a1b3f6f4461438691be21f8 (patch)
tree265fa96b8a9888398c1e7a90390d8dcfba7e4ce2 /llvm/lib/Transforms/Utils
parent0b6ebd8d105015d18a69786355ef59617297aa5c (diff)
downloadbcm5719-llvm-fd8cbc257e9ef6d04a1b3f6f4461438691be21f8.tar.gz
bcm5719-llvm-fd8cbc257e9ef6d04a1b3f6f4461438691be21f8.zip
Alkis noticed that this variable is dead. Thanks!
llvm-svn: 18369
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/SimplifyCFG.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp b/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
index 78f6caa0677..336764f7f26 100644
--- a/llvm/lib/Transforms/Utils/SimplifyCFG.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud