mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Reorder comments to put them the right way around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
290342a157
commit
dcf77575d2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user