mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 23:32:27 +00:00
fix pasto
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0b0803ae15
commit
5329bb22e9
@ -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) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user