[llvm-commits] CVS: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Nov 29 20:01:58 PST 2004
Changes in directory llvm/lib/Transforms/Utils:
SimplifyCFG.cpp updated: 1.58 -> 1.59
---
Log message:
Alkis noticed that this variable is dead. Thanks!
---
Diffs of the changes: (+0 -2)
Index: llvm/lib/Transforms/Utils/SimplifyCFG.cpp
diff -u llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.58 llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.59
--- llvm/lib/Transforms/Utils/SimplifyCFG.cpp:1.58 Mon Nov 29 18:29:14 2004
+++ llvm/lib/Transforms/Utils/SimplifyCFG.cpp Mon Nov 29 22:01:44 2004
@@ -562,7 +562,6 @@
// 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 @@
I1 = BB1->begin();
I2 = BB2->begin();
- Hoisted = true;
} while (I1->getOpcode() == I2->getOpcode() && I1->isIdenticalTo(I2));
return true;
More information about the llvm-commits
mailing list