Remove dead code causing a warning.

llvm-svn: 52502
This commit is contained in:
Bill Wendling 2008-06-19 18:00:44 +00:00
parent 46c82ab994
commit cd6fb1d0a8
1 changed files with 0 additions and 2 deletions

View File

@ -1655,8 +1655,6 @@ static Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) {
// If the functor wants to apply the optimization to the RHS of LHSI,
// reassociate the expression from ((? op A) op B) to (? op (A op B))
if (ShouldApply) {
BasicBlock *BB = Root.getParent();
// Now all of the instructions are in the current basic block, go ahead
// and perform the reassociation.
Instruction *TmpLHSI = cast<Instruction>(Root.getOperand(0));