1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Reorder comments to put them the right way around.

llvm-svn: 127220
This commit is contained in:
Nick Lewycky 2011-03-08 06:29:47 +00:00
parent c4e4244654
commit dbc555b13b

View File

@ -2315,11 +2315,11 @@ Instruction *InstCombiner::visitICmpInst(ICmpInst &I) {
return new ICmpInst(Pred, D, B);
BinaryOperator *SRem = NULL;
// icmp Y, (srem X, Y)
// icmp (srem X, Y), Y
if (BO0 && BO0->getOpcode() == Instruction::SRem &&
Op1 == BO0->getOperand(1))
SRem = BO0;
// icmp (srem X, Y), Y
// icmp Y, (srem X, Y)
else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
Op0 == BO1->getOperand(1))
SRem = BO1;