diff options
author | Chris Lattner <sabre@nondot.org> | 2008-02-17 20:54:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-02-17 20:54:40 +0000 |
commit | 5329bb22e9b6374d62919981c1ef8775b42945eb (patch) | |
tree | 60bfa94e23fc18fd4276162b65fc6f42338de304 | |
parent | 0b0803ae1508ff514dd7b471a2a3bcd1e83cb0ef (diff) |
fix pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47242 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index bec91dbe67..3e2d38f76b 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -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) || |