mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
Reorder comments to put them the right way around.
llvm-svn: 127220
This commit is contained in:
parent
c4e4244654
commit
dbc555b13b
@ -2315,11 +2315,11 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) {
|
|||||||
return new ICmpInst(Pred, D, B);
|
return new ICmpInst(Pred, D, B);
|
||||||
|
|
||||||
BinaryOperator *SRem = NULL;
|
BinaryOperator *SRem = NULL;
|
||||||
// icmp Y, (srem X, Y)
|
// icmp (srem X, Y), Y
|
||||||
if (BO0 && BO0->getOpcode() == Instruction::SRem &&
|
if (BO0 && BO0->getOpcode() == Instruction::SRem &&
|
||||||
Op1 == BO0->getOperand(1))
|
Op1 == BO0->getOperand(1))
|
||||||
SRem = BO0;
|
SRem = BO0;
|
||||||
// icmp (srem X, Y), Y
|
// icmp Y, (srem X, Y)
|
||||||
else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
|
else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
|
||||||
Op0 == BO1->getOperand(1))
|
Op0 == BO1->getOperand(1))
|
||||||
SRem = BO1;
|
SRem = BO1;
|
||||||
|
Loading…
Reference in New Issue
Block a user