fix pasto

llvm-svn: 47242
This commit is contained in:
Chris Lattner 2008-02-17 20:54:40 +00:00
parent a70d138457
commit 5f08ec854f
1 changed files with 1 additions and 1 deletions

View File

@ -404,7 +404,7 @@ static bool ShouldBreakUpSubtract(Instruction *Sub) {
isReassociableOp(Sub->getOperand(0), Instruction::Sub))
return true;
if (isReassociableOp(Sub->getOperand(1), Instruction::Add) ||
isReassociableOp(Sub->getOperand(0), Instruction::Sub))
isReassociableOp(Sub->getOperand(1), Instruction::Sub))
return true;
if (Sub->hasOneUse() &&
(isReassociableOp(Sub->use_back(), Instruction::Add) ||