mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 02:49:18 +00:00
Fixed a typo.
llvm-svn: 47478
This commit is contained in:
parent
1b417c4d84
commit
0742fbfedf
@ -2428,7 +2428,7 @@ Instruction *InstCombiner::visitSub(BinaryOperator &I) {
|
||||
|
||||
ConstantInt *C2; // X*C1 - X*C2 -> X * (C1-C2)
|
||||
if (X == dyn_castFoldableMul(Op1, C2))
|
||||
return BinaryOperator::createMul(Op1, Subtract(C1, C2));
|
||||
return BinaryOperator::createMul(X, Subtract(C1, C2));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user