projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f1455
)
Alkis noticed that this variable is dead. Thanks!
author
Chris Lattner
<sabre@nondot.org>
Tue, 30 Nov 2004 04:01:44 +0000
(
04:01
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 30 Nov 2004 04:01:44 +0000
(
04:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18369
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/SimplifyCFG.cpp
b/lib/Transforms/Utils/SimplifyCFG.cpp
index 78f6caa0677242274f6bbbf34674464bd46b2a3f..336764f7f2601a90454cec6a1b5d19906e68d093 100644
(file)
--- 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;