From dbc555b13b0599b7872fdf15744dbacbb3f3f23b Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 8 Mar 2011 06:29:47 +0000 Subject: [PATCH] Reorder comments to put them the right way around. llvm-svn: 127220 --- lib/Transforms/InstCombine/InstCombineCompares.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/InstCombine/InstCombineCompares.cpp b/lib/Transforms/InstCombine/InstCombineCompares.cpp index 108806a82b7..8787e2ae0e0 100644 --- a/lib/Transforms/InstCombine/InstCombineCompares.cpp +++ b/lib/Transforms/InstCombine/InstCombineCompares.cpp @@ -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;