mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-22 10:33:23 +00:00
Remove dead code causing a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
52d36e6f87
commit
ac151da204
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user