diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-06 12:41:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 12:41:19 +0000 |
commit | 05db668fe21feee223e19fe50ddeb6456ddebafb (patch) | |
tree | 6ff2fb6fa7dd7bbbde0fb279505c904c2d883b53 /lib/Transforms/Scalar/CondPropagate.cpp | |
parent | 7ac0e8af264c4ab82fb663d342011dfd18d4572d (diff) | |
download | external_llvm-05db668fe21feee223e19fe50ddeb6456ddebafb.zip external_llvm-05db668fe21feee223e19fe50ddeb6456ddebafb.tar.gz external_llvm-05db668fe21feee223e19fe50ddeb6456ddebafb.tar.bz2 |
Remove some not-really-used variables, as warned
about by icc (#593, partial). Patch by Erick Tryzelaar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/CondPropagate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/CondPropagate.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Transforms/Scalar/CondPropagate.cpp b/lib/Transforms/Scalar/CondPropagate.cpp index 09fc050..5b573f4 100644 --- a/lib/Transforms/Scalar/CondPropagate.cpp +++ b/lib/Transforms/Scalar/CondPropagate.cpp @@ -191,8 +191,6 @@ void CondProp::SimplifyPredecessors(SwitchInst *SI) { if (&*BBI != SI) return; - bool RemovedPreds = false; - // Ok, we have this really simple case, walk the PHI operands, looking for // constants. Walk from the end to remove operands from the end when // possible, and to avoid invalidating "i". @@ -204,7 +202,6 @@ void CondProp::SimplifyPredecessors(SwitchInst *SI) { RevectorBlockTo(PN->getIncomingBlock(i-1), SI->getSuccessor(DestCase)); ++NumSwThread; - RemovedPreds = true; // If there were two predecessors before this simplification, or if the // PHI node contained all the same value except for the one we just |