diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-06-19 18:00:44 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-06-19 18:00:44 +0000 |
commit | cd6fb1d0a878ae95d9924ab831092a591afbb35d (patch) | |
tree | 1488307d474904e62716076a7c6b87814f6386df | |
parent | 46c82ab9940911dc1bc8fd609cc9af28e733a0ec (diff) | |
download | bcm5719-llvm-cd6fb1d0a878ae95d9924ab831092a591afbb35d.tar.gz bcm5719-llvm-cd6fb1d0a878ae95d9924ab831092a591afbb35d.zip |
Remove dead code causing a warning.
llvm-svn: 52502
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 481f397a3f9..72a27f500c9 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -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)); |